diff options
Diffstat (limited to 'src/modules/m_satopic.cpp')
-rw-r--r-- | src/modules/m_satopic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp index 620feb657..4a6f85536 100644 --- a/src/modules/m_satopic.cpp +++ b/src/modules/m_satopic.cpp @@ -46,7 +46,7 @@ class CommandSATopic : public Command } else { - user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick.c_str(), parameters[0].c_str()); + user->WriteNumeric(ERR_NOSUCHNICK, "%s :No such nick/channel", parameters[0].c_str()); return CMD_FAILURE; } } |