summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-03 19:55:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-03 19:55:04 +0000
commit3593e33ce374caee9aec0575b49ec9b0001a8ec6 (patch)
tree2a2d91e02f5a33298b96b18ddd707afb7f4206c1 /src/mode.cpp
parent1ccb8068853bbd28b52b10b1cbb7438b5c231f41 (diff)
Partial fix for bug #441
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8479 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 2b31c725b..3406393cf 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -395,7 +395,8 @@ void ModeParser::Process(const char** parameters, int pcnt, User *user, bool ser
* NOT a uline and NOT a servermode,
* OR, NOT halfop or above.
*/
- user->WriteServ("482 %s %s :You're not a channel (half)operator",user->nick, targetchannel->name);
+ user->WriteServ("482 %s %s :You're not a channel %soperator",user->nick, targetchannel->name,
+ ServerInstance->Config->AllowHalfop ? "(half)" : "");
return;
}
}