X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc-oper.c;h=237107f69b8f56c828f212122da415cee247ba1b;hb=e0da56fc7b1dae4e21dfda7e0ac8ad7594135986;hp=1b269e3be6a7f463c9549a0db33aa3b17097d7e5;hpb=e9e6224aaeac6aab825caa12172bc207a00a86f9;p=ngircd-alex.git diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 1b269e3b..237107f6 100644 --- a/src/ngircd/irc-oper.c +++ b/src/ngircd/irc-oper.c @@ -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) {