]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_conn_waitpong.cpp
Chain ValidateServerName onto ValidateHostname so that the servername gets hostname...
[user/henk/code/inspircd.git] / src / modules / m_conn_waitpong.cpp
index 4c27efec2e6d5b1dcdf8b7e439f5fe03bfd330cc..41900966c8ea32e22f38ddb854254e6629c13d8e 100644 (file)
@@ -87,7 +87,7 @@ class ModuleWaitPong : public Module
                                else
                                {
                                        if(killonbadreply)
-                                               User::QuitUser(ServerInstance, user, "Incorrect ping reply for registration");
+                                               ServerInstance->Users->QuitUser(user, "Incorrect ping reply for registration");
                                        return 1;
                                }
                        }