diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_conn_waitpong.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index 5d4a9e94c..ddbea55d0 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -62,7 +62,7 @@ class ModuleWaitPong : public Module void Implements(char* List) { - List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnUserDisconnect] = List[I_OnPreCommand] = List[I_OnRehash] = 1; + List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnPreCommand] = List[I_OnRehash] = 1; } virtual void OnUserRegister(userrec* user) @@ -93,6 +93,7 @@ class ModuleWaitPong : public Module else if(killonbadreply) { Srv->QuitUser(user, "Incorrect ping reply for registration"); + return 1; } } |