summaryrefslogtreecommitdiff
path: root/modules/commands/cs_clone.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-07-01 20:16:59 -0400
committerAdam <Adam@anope.org>2015-07-01 20:16:59 -0400
commit4362f53cc38177039d6f6b86565e73800e7b5390 (patch)
tree9d2a00ff915fb6fb4f0992d77edf7b56aa99e4e2 /modules/commands/cs_clone.cpp
parentcc616a7146c396edbedc64cad5de1ed7de935ead (diff)
Fix unused variable warning in cs_clone
Diffstat (limited to 'modules/commands/cs_clone.cpp')
-rw-r--r--modules/commands/cs_clone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp
index cbf53e892..282ff9afc 100644
--- a/modules/commands/cs_clone.cpp
+++ b/modules/commands/cs_clone.cpp
@@ -128,12 +128,12 @@ public:
}
User *u = source.GetUser();
- ChannelInfo *ci = ChannelInfo::Find(params[0]);
+ ChannelInfo *ci = ChannelInfo::Find(channel);
bool override = false;
if (ci == NULL)
{
- source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());
+ source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
return;
}