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:
parent
fb81a73307
commit
64dd2404ca
|
@ -1,6 +1,5 @@
|
||||||
Todo list for ShadowIRCd 6.1
|
Todo list for ShadowIRCd 6.1
|
||||||
-----------------------------
|
-----------------------------
|
||||||
* pretty error messages for +ah stuff
|
|
||||||
* update ojoin/omode/etc to use +ah
|
* update ojoin/omode/etc to use +ah
|
||||||
* notice/message !#channel and %#channel
|
* notice/message !#channel and %#channel
|
||||||
* clean disable/removal of modes on rehash, if possible without being ugly
|
* clean disable/removal of modes on rehash, if possible without being ugly
|
||||||
|
|
|
@ -115,7 +115,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
||||||
is_override = 1;
|
is_override = 1;
|
||||||
else
|
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);
|
me.name, source_p->name, name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue