diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-14 08:28:23 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-14 08:28:23 +0000 |
commit | 9ab90c52b46cc613d29174fd183330bd9ace1e97 (patch) | |
tree | 28b386b2271ce9a57ef03b77cbb8c59d04f43882 | |
parent | 9e1afa4937adf0c7e45b385029659340d40d81fa (diff) |
More broken compile stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10016 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/mode.cpp | 2 | ||||
-rw-r--r-- | 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()); |