]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-oper.c
Add Doxygen @file documentation to each source and header file
[ngircd-alex.git] / src / ngircd / irc-oper.c
index a927b1951035aa5b34c0524c263cb6df2cda8c2c..7887ef6075260dd670d907a5e86e8fe322e8b247 100644 (file)
@@ -7,18 +7,22 @@
  * 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 <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <signal.h>
 
 #include "ngircd.h"
 #include "conn-func.h"
@@ -146,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 */