Documentation on +M clarified in helpfile and module source code

This commit is contained in:
Sam Dodrill 2013-09-15 21:23:29 -07:00
parent b4bbdf7046
commit 1d878cec57
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ NO PARAMETERS:
* +M - Immune. Opers cannot be kicked from the channel. May
be set by admins regardless of channel status. Users
will not see this mode at all. Can only be set by admins.
Opers may still be kicked from the channel by services.
?* +O - Oper only channel. Only opers will be able to join.
?* +A - Admin only channel. Only admins will be able to join.
Can only be set by admins.

View File

@ -173,6 +173,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
return 0;
}
//NOTE: Will not stop kicks from services.
if (MyClient(source_p) && chptr->mode.mode & MODE_NOOPERKICK && IsOper(who))
{
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,