Commit Diff


commit - 12bf203167035a0fc6d77fc0e3c085100336f77f
commit + 4eb57b590bcf64c51583a58a4ebbef83dd79ea84
blob - 2a753f3a25fe52be52a5ccfe2758a68b08f4c8aa
blob + e68defb543bdcfb20dec61069fa54c595fabe071
--- src/ngircd/irc-oper.c
+++ src/ngircd/irc-oper.c
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: irc-oper.c,v 1.9 2002/11/22 17:58:41 alex Exp $
+ * $Id: irc-oper.c,v 1.10 2002/11/22 23:32:29 alex Exp $
  *
  * irc-oper.c: IRC-Operator-Befehle
  */
@@ -102,7 +102,7 @@ IRC_DIE( CLIENT *Client, REQUEST *Req )
 
 
 GLOBAL BOOLEAN
-IRC_RELOAD( CLIENT *Client, REQUEST *Req )
+IRC_REHASH( CLIENT *Client, REQUEST *Req )
 {
 	assert( Client != NULL );
 	assert( Req != NULL );
@@ -114,11 +114,11 @@ IRC_RELOAD( CLIENT *Client, REQUEST *Req )
 
 	if(( ! Client_HasMode( Client, 'o' )) || ( ! Client_OperByMe( Client ))) return IRC_WriteStrClient( Client, ERR_NOPRIVILEGES_MSG, Client_ID( Client ));
 
-	Log( LOG_NOTICE|LOG_snotice, "Got RELOAD command from \"%s\", re-reading configuration ...", Client_Mask( Client ));
-	NGIRCd_Reload( );
+	Log( LOG_NOTICE|LOG_snotice, "Got REHASH command from \"%s\", re-reading configuration ...", Client_Mask( Client ));
+	NGIRCd_Rehash( );
 	
 	return CONNECTED;
-} /* IRC_RELOAD */
+} /* IRC_REHASH */
 
 
 GLOBAL BOOLEAN
blob - 1cc6417da490d1648fdc817488433885f8c8897a
blob + 594272fa62557667ea3af80d44812278975f75d7
--- src/ngircd/irc-oper.h
+++ src/ngircd/irc-oper.h
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: irc-oper.h,v 1.7 2002/11/22 16:36:43 alex Exp $
+ * $Id: irc-oper.h,v 1.8 2002/11/22 23:32:29 alex Exp $
  *
  * irc-oper.h: IRC-Operator-Befehle (Header)
  */
@@ -21,7 +21,7 @@
 
 GLOBAL BOOLEAN IRC_OPER PARAMS((CLIENT *Client, REQUEST *Req ));
 GLOBAL BOOLEAN IRC_DIE PARAMS((CLIENT *Client, REQUEST *Req ));
-GLOBAL BOOLEAN IRC_RELOAD PARAMS((CLIENT *Client, REQUEST *Req ));
+GLOBAL BOOLEAN IRC_REHASH PARAMS((CLIENT *Client, REQUEST *Req ));
 GLOBAL BOOLEAN IRC_RESTART PARAMS((CLIENT *Client, REQUEST *Req ));
 GLOBAL BOOLEAN IRC_CONNECT PARAMS((CLIENT *Client, REQUEST *Req ));