]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_lusers.cpp
Remove a few unnecessary .c_str() calls
[user/henk/code/inspircd.git] / src / commands / cmd_lusers.cpp
index 37b193e66d996939ff227afd20433cffbdfe957e..7cd0f2ca1c65b7af88fdd14a091322c87b89a43a 100644 (file)
@@ -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);