summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sslinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_sslinfo.cpp')
-rw-r--r--src/modules/extra/m_sslinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp
index 6d0c78937..82ac7c18e 100644
--- a/src/modules/extra/m_sslinfo.cpp
+++ b/src/modules/extra/m_sslinfo.cpp
@@ -58,7 +58,7 @@ class cmd_sslinfo : public Command
}
}
else
- user->WriteNumeric(401, "%s %s :No such nickname", user->nick.c_str(), parameters[0].c_str());
+ user->WriteNumeric(ERR_NOSUCHNICK, "%s %s :No such nickname", user->nick.c_str(), parameters[0].c_str());
return CMD_FAILURE;
}