X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_opermotd.cpp;h=2431853c25e922928bcf283ead0aa93e5eba672b;hb=c46f8a368c42f64284244f3d2dfc022a383294fa;hp=f6cb5853cff984e1f3d24cd164e3d042009a72c2;hpb=c6a508a3da977041909f18f77d6e8fea942512cf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index f6cb5853c..2431853c2 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -56,14 +56,14 @@ class CommandOpermotd : public Command return; } - user->WriteRemoteNumeric(375, "- IRC Operators Message of the Day"); + user->WriteRemoteNumeric(RPL_MOTDSTART, "- IRC Operators Message of the Day"); for (file_cache::const_iterator i = opermotd.begin(); i != opermotd.end(); ++i) { - user->WriteRemoteNumeric(372, InspIRCd::Format("- %s", i->c_str())); + user->WriteRemoteNumeric(RPL_MOTD, InspIRCd::Format("- %s", i->c_str())); } - user->WriteRemoteNumeric(376, "- End of OPERMOTD"); + user->WriteRemoteNumeric(RPL_ENDOFMOTD, "- End of OPERMOTD"); } };