From 1d878cec579660325fbffafe349bde215960eced Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Sun, 15 Sep 2013 21:23:29 -0700 Subject: [PATCH] Documentation on +M clarified in helpfile and module source code --- help/opers/cmode | 1 + modules/core/m_kick.c | 1 + 2 files changed, 2 insertions(+) diff --git a/help/opers/cmode b/help/opers/cmode index ba230c9..2dfeb03 100644 --- a/help/opers/cmode +++ b/help/opers/cmode @@ -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. diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index 41a9dd4..eb126b9 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -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,