]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-oper.c
Disable UID/GID checks on "single user OS"
[ngircd-alex.git] / src / ngircd / irc-oper.c
index 1b269e3be6a7f463c9549a0db33aa3b17097d7e5..237107f69b8f56c828f212122da415cee247ba1b 100644 (file)
@@ -183,6 +183,8 @@ IRC_REHASH( CLIENT *Client, REQUEST *Req )
 
        Log(LOG_NOTICE|LOG_snotice, "Got REHASH command from \"%s\" ...",
            Client_Mask(Client));
+       IRC_WriteStrClient(Client, RPL_REHASHING_MSG, Client_ID(Client));
+
        raise(SIGHUP);
 
        return CONNECTED;
@@ -450,6 +452,11 @@ IRC_xLINE(CLIENT *Client, REQUEST *Req)
                case 'K':
                        class = CLASS_KLINE; class_c = 'K';
                        break;
+               default:
+                       Log(LOG_CRIT,
+                           "IRC_xLINE() called for unknown line: %c!? Ignored.",
+                           Req->command[0]);
+                       return CONNECTED;
        }
 
        if (Req->argc == 1) {