X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-oper.c;h=7887ef6075260dd670d907a5e86e8fe322e8b247;hp=900c8609dccb790e42beef625c807574a202f576;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hpb=cc336b75580d012c1caee58a252d1ad14b2cee23 diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 900c8609..7887ef60 100644 --- a/src/ngircd/irc-oper.c +++ b/src/ngircd/irc-oper.c @@ -7,23 +7,26 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. - * - * IRC operator commands */ #include "portab.h" +/** + * @file + * IRC operator commands + */ + #include "imp.h" #include #include #include #include +#include #include "ngircd.h" #include "conn-func.h" #include "conf.h" -#include "client.h" #include "channel.h" #include "irc-write.h" #include "log.h" @@ -147,8 +150,8 @@ IRC_REHASH( CLIENT *Client, REQUEST *Req ) if( Req->argc != 0 ) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command ); Log( LOG_NOTICE|LOG_snotice, "Got REHASH command from \"%s\" ...", Client_Mask( Client )); - NGIRCd_SignalRehash = true; - + raise(SIGHUP); + return CONNECTED; } /* IRC_REHASH */