summaryrefslogtreecommitdiff
path: root/src/commands/cmd_lusers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_lusers.cpp')
-rw-r--r--src/commands/cmd_lusers.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/commands/cmd_lusers.cpp b/src/commands/cmd_lusers.cpp
index 37b193e66..7cd0f2ca1 100644
--- a/src/commands/cmd_lusers.cpp
+++ b/src/commands/cmd_lusers.cpp
@@ -154,11 +154,6 @@ class ModuleLusers : public Module
{
}
- void init()
- {
- ServerInstance->Modes->AddModeWatcher(&mw);
- }
-
void OnPostConnect(User* user)
{
counters.UpdateMaxUsers();
@@ -172,11 +167,6 @@ class ModuleLusers : public Module
counters.invisible--;
}
- ~ModuleLusers()
- {
- ServerInstance->Modes->DelModeWatcher(&mw);
- }
-
Version GetVersion()
{
return Version("LUSERS", VF_VENDOR | VF_CORE);