From 9ab90c52b46cc613d29174fd183330bd9ace1e97 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 14 Jul 2008 08:28:23 +0000 Subject: [PATCH] More broken compile stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10016 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 2 +- src/users.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mode.cpp b/src/mode.cpp index 1a26a6941..ca30f1b69 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -330,7 +330,7 @@ void ModeParser::DisplayCurrentModes(User *user, User* targetuser, Channel* targ { if (targetuser->Visibility && !targetuser->Visibility->VisibleTo(user)) { - user->WriteNumeric(RPL_NOSUCHNICK, "%s %s :No such nick/channel",user->nick.c_str(), text); + user->WriteNumeric(ERR_NOSUCHNICK, "%s %s :No such nick/channel",user->nick.c_str(), text); return; } diff --git a/src/users.cpp b/src/users.cpp index 14fcf9c43..36a0d8c4a 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1963,11 +1963,11 @@ void User::ShowRULES() { if (!ServerInstance->Config->RULES.size()) { - this->WriteNumeric(RPL_NORULES, "%s :RULES File is missing",this->nick.c_str()); + this->WriteNumeric(ERR_NORULES, "%s :RULES File is missing",this->nick.c_str()); return; } - this->WriteNumeric(RUL_RULESTART, "%s :- %s Server Rules -",this->nick.c_str(),ServerInstance->Config->ServerName); + this->WriteNumeric(RPL_RULESTART, "%s :- %s Server Rules -",this->nick.c_str(),ServerInstance->Config->ServerName); for (file_cache::iterator i = ServerInstance->Config->RULES.begin(); i != ServerInstance->Config->RULES.end(); i++) this->WriteNumeric(RPL_RULES, "%s :- %s",this->nick.c_str(),i->c_str()); -- 2.39.5