]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_user.cpp
Added <options:notimesync> to the example config
[user/henk/code/inspircd.git] / src / cmd_user.cpp
index f7a22eb0184a6abf59e6358043f979468779fc82..208e04380e1625cb28df7f52be3237839eb459d5 100644 (file)
@@ -55,6 +55,8 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, userrec *user)
        if (user->registered == REG_NICKUSER)
        {
                /* 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_MOD(I_OnUserRegister,OnUserRegister(user));
        }