]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sakick.cpp
Remove the intercomm system since sqlite is synchronous.
[user/henk/code/inspircd.git] / src / modules / m_sakick.cpp
index d8eda095641447158c1b37d3310273b270dfce72..b81df75c6c6aac53c01035aea82cf24ae7130759 100644 (file)
@@ -56,8 +56,7 @@ class CommandSakick : public Command
                         */
                        if (IS_LOCAL(dest))
                        {
-                               if (!channel->ServerKickUser(dest, reason, servername))
-                                       delete channel;
+                               channel->ServerKickUser(dest, reason, servername);
 
                                Channel *n = ServerInstance->FindChan(parameters[1]);
                                if (n && n->HasUser(dest))
@@ -97,8 +96,8 @@ class ModuleSakick : public Module
 {
        CommandSakick cmd;
  public:
-       ModuleSakick(InspIRCd* Me)
-               : Module(Me), cmd(this)
+       ModuleSakick()
+               : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -109,7 +108,7 @@ class ModuleSakick : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_OPTCOMMON|VF_VENDOR, API_VERSION);
+               return Version("Provides a SAKICK command", VF_OPTCOMMON|VF_VENDOR);
        }
 
 };