diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-11 21:15:02 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-11 21:15:02 +0000 |
commit | 0b070b52bc8e8ceb52388e45cea90f4add119c4f (patch) | |
tree | c8934030ba064a432d4807fbe93b002ea0210d25 /src/modules/m_cycle.cpp | |
parent | f8d9c513174926eae5b0545c56c310c90f295132 (diff) |
Convert API to use std::string, fixes my slight bug from earlier and looks tidier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cycle.cpp')
-rw-r--r-- | src/modules/m_cycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 037e570f6..5b562631d 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -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()); |