From 4487dde76ffbdb21e7dc319b3b87d09c3cf60d8c Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 12:22:39 +0000 Subject: 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 --- src/cmd_user.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cmd_user.cpp') 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; -- cgit v1.3.1-10-gc9f91