summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-14 19:08:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-14 19:08:16 +0000
commita7c5427c733d1459d8976100bda315af46dc83d6 (patch)
treeaa367201185c5a64d56fe70028f9227eb3ca4fd3
parenta4fed1c1c767c8e31ffa47dc68ee7537ca28e317 (diff)
Reword the failure message to read a little better
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8940 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index a89e3ae19..d539f57f8 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -539,8 +539,8 @@ void ModeParser::Process(const char** parameters, int pcnt, User *user, bool ser
if (!ourmode || ourmode->GetPrefixRank() < neededrank)
{
/* Bog off */
- user->WriteServ("482 %s %s :You require channel privilege '%c' or above to execute channel mode '%c'",
- user->nick, targetchannel->name, needed, modechar);
+ user->WriteServ("482 %s %s :You require channel privilege %c or above to %sset channel mode %c",
+ user->nick, targetchannel->name, needed, adding ? "" : "un", modechar);
continue;
}
}