From 4eb57b590bcf64c51583a58a4ebbef83dd79ea84 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 22 Nov 2002 23:32:29 +0000 Subject: [PATCH 1/1] - IRC_RELOAD() in IRC_REHASH() umbenannt. --- src/ngircd/irc-oper.c | 10 +++++----- src/ngircd/irc-oper.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 2a753f3a..e68defb5 100644 --- a/src/ngircd/irc-oper.c +++ b/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 diff --git a/src/ngircd/irc-oper.h b/src/ngircd/irc-oper.h index 1cc6417d..594272fa 100644 --- a/src/ngircd/irc-oper.h +++ b/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 )); -- 2.39.2