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