summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_ison.cpp2
-rw-r--r--src/coremods/core_userhost.cpp2
-rw-r--r--src/modules/m_userip.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/coremods/core_ison.cpp b/src/coremods/core_ison.cpp
index 49da8931a..f1733ba88 100644
--- a/src/coremods/core_ison.cpp
+++ b/src/coremods/core_ison.cpp
@@ -44,7 +44,7 @@ class IsonReplyBuilder : public Numeric::Builder<' ', true>
{
public:
IsonReplyBuilder(LocalUser* user)
- : Numeric::Builder<' ', true>(user, 303)
+ : Numeric::Builder<' ', true>(user, RPL_ISON)
{
}
diff --git a/src/coremods/core_userhost.cpp b/src/coremods/core_userhost.cpp
index 14750ef60..3100995a8 100644
--- a/src/coremods/core_userhost.cpp
+++ b/src/coremods/core_userhost.cpp
@@ -77,7 +77,7 @@ CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, U
}
}
- user->WriteNumeric(302, retbuf);
+ user->WriteNumeric(RPL_USERHOST, retbuf);
return CMD_SUCCESS;
}
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index 27f5fb17c..6fa367bff 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -70,7 +70,7 @@ class CommandUserip : public Command
}
if (nicks != 0)
- user->WriteNumeric(340, retbuf);
+ user->WriteNumeric(RPL_USERIP, retbuf);
return CMD_SUCCESS;
}