diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 12:22:39 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 12:22:39 +0000 |
commit | 4487dde76ffbdb21e7dc319b3b87d09c3cf60d8c (patch) | |
tree | ba24a999e2d1d9a5d708ef3df66058d35d18f410 /src/cmd_user.cpp | |
parent | 7c5ab78be2fabce6d11e13ec819799527ddb738c (diff) |
Remove next_call garbage.. It didn't really do much more than obfuscate things. InspIRCd::DoBackgroundUserStuff() is now called once per second, roughly. This will (of course) not be going into 1.1.x
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8241 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_user.cpp')
-rw-r--r-- | src/cmd_user.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp index a3d10a723..740674833 100644 --- a/src/cmd_user.cpp +++ b/src/cmd_user.cpp @@ -55,9 +55,8 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, User *user) if (user->registered == REG_NICKUSER) { int MOD_RESULT = 0; + /* user is registered now, bit 0 = USER command, bit 1 = sent a NICK command */ - if (ServerInstance->next_call > ServerInstance->Time() + ServerInstance->Config->dns_timeout) - ServerInstance->next_call = ServerInstance->Time() + ServerInstance->Config->dns_timeout; FOREACH_RESULT(I_OnUserRegister,OnUserRegister(user)); if (MOD_RESULT > 0) return CMD_FAILURE; |