aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-11-03 19:55:35 +0000
committerGravatar brain2007-11-03 19:55:35 +0000
commit8e4a314cdea38fb7732d8824d407853b0fb4ed17 (patch)
treec0ce495101389ce196bbfd46c42d5ffa5a03c61f /src/mode.cpp
parentMerge in relaxed ssl checking from trunk (diff)
Mergable part of bug #441 fix
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8480 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 f232cfd37..e44843a98 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -393,7 +393,8 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
* 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;
}
}