Rewrite message when you don't have the privs to kick a user

(be it that the user is +a and you're +o/+h or you're not an op at all).
This commit is contained in:
JD Horelick 2010-03-25 12:31:12 -04:00
parent fb81a73307
commit 64dd2404ca
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
Todo list for ShadowIRCd 6.1
-----------------------------
* pretty error messages for +ah stuff
* update ojoin/omode/etc to use +ah
* notice/message !#channel and %#channel
* clean disable/removal of modes on rehash, if possible without being ugly

View File

@ -115,7 +115,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
is_override = 1;
else
{
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
sendto_one(source_p, ":%s 482 %s %s :You do not have the proper privledges to kick this user",
me.name, source_p->name, name);
return 0;
}