mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
Stop user initialization when the user is marked as quitting after OnSetUserIP
This commit is contained in:
parent
3e6a05f4fa
commit
99a470a590
@ -147,6 +147,9 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs
|
||||
New->WriteServ("NOTICE Auth :*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded.");
|
||||
|
||||
FOREACH_MOD(I_OnSetUserIP,OnSetUserIP(New));
|
||||
if (New->quitting)
|
||||
return;
|
||||
|
||||
FOREACH_MOD(I_OnUserInit,OnUserInit(New));
|
||||
|
||||
if (ServerInstance->Config->NoUserDns)
|
||||
|
Loading…
x
Reference in New Issue
Block a user