From 026c579e4cac7d4545b3c8c3a0d690c8509dc713 Mon Sep 17 00:00:00 2001 From: B00mX0r Date: Tue, 19 Dec 2017 14:15:30 -0800 Subject: Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics Per #1122 --- src/modules/m_cycle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cycle.cpp') 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; } -- cgit v1.2.3