diff options
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r-- | src/modules/m_antibear.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp index 6b40407a5..2718cbb4c 100644 --- a/src/modules/m_antibear.cpp +++ b/src/modules/m_antibear.cpp @@ -40,7 +40,7 @@ class ModuleAntiBear : public Module void Implements(char* List) { - List[I_OnUserRegister] = List[I_OnPreCommand] = List[I_OnUserConnect] = 1; + List[I_OnUserRegister] = List[I_OnPreCommand] = 1; } virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated, const std::string &original_line) @@ -73,11 +73,6 @@ class ModuleAntiBear : public Module user->Extend("antibear_timewait"); return 0; } - - virtual void OnUserConnect(userrec *user) - { - user->Shrink("antibear_timewait"); - } }; MODULE_INIT(ModuleAntiBear) |