summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
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;
}
}