Send RPL_REHASHING if rehash was accepted
(cherry picked from commit f1b171a09cd076f743a7fff221fa7aa752abb374)
This commit is contained in:
parent
e3a1a61868
commit
d8ee498a65
|
@ -183,6 +183,8 @@ IRC_REHASH( CLIENT *Client, REQUEST *Req )
|
||||||
|
|
||||||
Log(LOG_NOTICE|LOG_snotice, "Got REHASH command from \"%s\" ...",
|
Log(LOG_NOTICE|LOG_snotice, "Got REHASH command from \"%s\" ...",
|
||||||
Client_Mask(Client));
|
Client_Mask(Client));
|
||||||
|
IRC_WriteStrClient(Client, RPL_REHASHING_MSG, Client_ID(Client));
|
||||||
|
|
||||||
raise(SIGHUP);
|
raise(SIGHUP);
|
||||||
|
|
||||||
return CONNECTED;
|
return CONNECTED;
|
||||||
|
|
|
@ -94,6 +94,7 @@
|
||||||
#define RPL_ENDOFMOTD_MSG "376 %s :End of MOTD command"
|
#define RPL_ENDOFMOTD_MSG "376 %s :End of MOTD command"
|
||||||
#define RPL_WHOISHOST_MSG "378 %s %s :is connecting from *@%s %s"
|
#define RPL_WHOISHOST_MSG "378 %s %s :is connecting from *@%s %s"
|
||||||
#define RPL_YOUREOPER_MSG "381 %s :You are now an IRC Operator"
|
#define RPL_YOUREOPER_MSG "381 %s :You are now an IRC Operator"
|
||||||
|
#define RPL_REHASHING_MSG "382 %s :Rehashing"
|
||||||
#define RPL_YOURESERVICE_MSG "383 %s :You are service %s"
|
#define RPL_YOURESERVICE_MSG "383 %s :You are service %s"
|
||||||
#define RPL_TIME_MSG "391 %s %s :%s"
|
#define RPL_TIME_MSG "391 %s %s :%s"
|
||||||
#define RPL_HOSTHIDDEN_MSG "396 %s %s :is your displayed hostname now"
|
#define RPL_HOSTHIDDEN_MSG "396 %s %s :is your displayed hostname now"
|
||||||
|
|
Loading…
Reference in New Issue