summaryrefslogtreecommitdiff
path: root/src/cmd_invite.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-28 16:15:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-28 16:15:31 +0000
commit417b01fe509ea114eb52e2bcf67261e59247e533 (patch)
treec03a245cb7f6831cda4e3ec56e32417de9c304c5 /src/cmd_invite.cpp
parenteee78a19300ed958eb748950de93e149a6c37778 (diff)
Correct wording of message in cmd_invite pointed out by Zaba
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8090 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_invite.cpp')
-rw-r--r--src/cmd_invite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp
index 9c2c26442..74ac7ea2c 100644
--- a/src/cmd_invite.cpp
+++ b/src/cmd_invite.cpp
@@ -48,7 +48,7 @@ CmdResult cmd_invite::Handle (const char** parameters, int pcnt, userrec *user)
{
if (c->GetStatus(user) < STATUS_HOP)
{
- user->WriteServ("482 %s %s :You must be at least a half-operator to change modes on this channel",user->nick, c->name);
+ user->WriteServ("482 %s %s :You must be a channel %soperator", user->nick, c->name, c->GetStatus(u) == STATUS_HOP ? "" : "half-");
return CMD_FAILURE;
}
}