diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-11-21 02:20:23 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-11-29 20:26:00 +0100 |
commit | 20ea635c9fcd0d559ff6fc2863ab581591bc4ef8 (patch) | |
tree | 555cde8b1e6662f0003c48ef131c6f9e447bc128 /src/usermanager.cpp | |
parent | b4034e2231afcfcb5cf29156288c666d90831fed (diff) |
Reorder local user initialization steps
OnSetUserIP hook now runs after the user has a connect class and the g/k/z lines were checked (ip only, no host at that point)
Fixes #360 reported by @JDowny
Allows #336
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r-- | src/usermanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index bb4d58d90..b6a33d2c4 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -146,6 +146,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs if (ServerInstance->Config->RawLog) 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)); FOREACH_MOD(I_OnUserInit,OnUserInit(New)); if (ServerInstance->Config->NoUserDns) |