1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 01:26:39 +02:00

Move nickserv validate stuff to an event in nickserv.cpp

This commit is contained in:
Adam
2013-01-02 13:59:33 -05:00
parent bf718e8698
commit 827469600e
10 changed files with 68 additions and 106 deletions
+1 -3
View File
@@ -432,9 +432,7 @@ struct IRCDMessageNick : IRCDMessage
else if (params.size() == 7)
{
// a new user is connecting to the network
User *user = new User(params[0], params[2], params[3], "", "", source.GetServer(), params[6], Anope::CurTime, params[5], "");
if (user && NickServService)
NickServService->Validate(user);
new User(params[0], params[2], params[3], "", "", source.GetServer(), params[6], Anope::CurTime, params[5], "");
}
else
{