]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cycle.cpp
Fix /STATS output to show the regex module in use
[user/henk/code/inspircd.git] / src / modules / m_cycle.cpp
index 037e570f61fd6be13930bc89a109b1d82888cbf1..a7c24df63189ef78e352f58a7f9b1c2af9a7e71f 100644 (file)
@@ -59,7 +59,7 @@ class CommandCycle : public Command
                                }
 
                                /* XXX in the future, this may move to a static Channel method (the delete.) -- w00t */
-                               if (!channel->PartUser(user, reason.c_str()))
+                               if (!channel->PartUser(user, reason))
                                        delete channel;
 
                                Channel::JoinUser(ServerInstance, user, parameters[0].c_str(), true, "", false, ServerInstance->Time());
@@ -96,7 +96,7 @@ class ModuleCycle : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 
 };