summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 19:57:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-29 19:57:16 +0000
commitc88225e88e62cbebe9bb3dea3a9c127cb475d0a1 (patch)
tree4f2de8083668b2e4181aba67594db4fd0486a5a8 /src/mode.cpp
parent8ef140900d12b332a389a58a54ed573f7f6aa741 (diff)
Clarify message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5074 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 9f1b37044..c14343feb 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -432,8 +432,9 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
*/
if ((IS_LOCAL(user)) && (modehandlers[handler_id]->NeedsOper()) && (!*user->oper))
{
- user->WriteServ("481 %s :Permission Denied- Only operators may set %s mode %c", user->nick,
- type == MODETYPE_CHANNEL ? "channel" : "user", modehandlers[handler_id]->GetModeChar());
+ user->WriteServ("481 %s :Permission Denied- Only IRC operators may %sset %s mode %c", user->nick,
+ adding ? "" : "un", type == MODETYPE_CHANNEL ? "channel" : "user",
+ modehandlers[handler_id]->GetModeChar());
continue;
}