summaryrefslogtreecommitdiff
path: root/src/modules/m_cycle.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-12-22 12:12:36 +0000
committerGitHub <noreply@github.com>2017-12-22 12:12:36 +0000
commitc8f515121fbdf3e4de693712ef2311cece45477d (patch)
treed92941491ef510a9ec8ff317a9002429ae96a33e /src/modules/m_cycle.cpp
parente467fd0a6fc9ba97b2e2f31e654803a86bbb307f (diff)
parent026c579e4cac7d4545b3c8c3a0d690c8509dc713 (diff)
Merge pull request #1446 from B00mX0r/master+wrongnumeric
Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics Closes #1122.
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 68463a4e7..1028fa977 100644
--- a/src/modules/m_cycle.cpp
+++ b/src/modules/m_cycle.cpp
@@ -44,7 +44,7 @@ class CommandCycle : public SplitCommand
if (!channel)
{
- user->WriteNumeric(ERR_NOSUCHCHANNEL, parameters[0], "No such channel");
+ user->WriteNumeric(Numerics::NoSuchChannel(parameters[0]));
return CMD_FAILURE;
}