summaryrefslogtreecommitdiff
path: root/src/modules/m_cycle.cpp
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-07 05:51:31 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-07 05:51:31 +0000
commitf452a340a8a2917f67e98ebbcc12a51531e11ad3 (patch)
treee1e8afc7b71281a38107dd45f59e7e3594e0e1c2 /src/modules/m_cycle.cpp
parent74529bd97c284bb0227451a006cfa6e3079f61b9 (diff)
dz is determined to crash your ircd :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8132 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cycle.cpp')
-rw-r--r--src/modules/m_cycle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp
index effc08115..fa55f44d8 100644
--- a/src/modules/m_cycle.cpp
+++ b/src/modules/m_cycle.cpp
@@ -40,7 +40,7 @@ class cmd_cycle : public command_t
if (!channel)
{
- user->WriteServ("403 %s %s :No such channel", user->nick, channel->name);
+ user->WriteServ("403 %s %s :No such channel", user->nick, parameters[0]);
return CMD_FAILURE;
}