]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_swhois.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_swhois.cpp
index 9e461e627a5e3a294483e26cc479c0f1051db4b9..c2659f6aa53909b7e28b175d84bf804de392f7f9 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "inspircd.h"
 
-/* $ModDesc: Provides the SWHOIS command which allows setting of arbitrary WHOIS lines */
-
 /** Handle /SWHOIS
  */
 class CommandSwhois : public Command
@@ -94,8 +92,6 @@ class ModuleSWhois : public Module
        {
                ServerInstance->Modules->AddService(cmd);
                ServerInstance->Modules->AddService(cmd.swhois);
-               Implementation eventlist[] = { I_OnWhoisLine, I_OnPostOper };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        // :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games.