]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cycle.cpp
Remove unneccessary temp value which caused a win32 problem by using uint32_t type.
[user/henk/code/inspircd.git] / src / modules / m_cycle.cpp
index 037e570f61fd6be13930bc89a109b1d82888cbf1..5b562631d9a3ff06aa8a1e7fe9e1218b5acac950 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());