summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-17 19:43:57 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-17 19:43:57 +0000
commit9fd8fe2dcc4a0ab6dd0fa4a548f7c179d79a2fdd (patch)
tree94b81cac72ae93af00fea0ef45bff4c29180c906 /src
parent206336e601c61264d4dd7b6c031b5cc96b7e3f44 (diff)
- channel.c:send_channel_modes(): now that CAP_IE and CAP_EX are mandatory, let's
always send invite/ban exception during a burst git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1661 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/channel.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/channel.c b/src/channel.c
index c79ecdd..5417278 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -293,11 +293,8 @@ send_channel_modes(struct Client *client_p, struct Channel *chptr)
send_members(client_p, chptr, modebuf, parabuf);
send_mode_list(client_p, chptr, &chptr->banlist, 'b');
-
- if (IsCapable(client_p, CAP_EX))
- send_mode_list(client_p, chptr, &chptr->exceptlist, 'e');
- if (IsCapable(client_p, CAP_IE))
- send_mode_list(client_p, chptr, &chptr->invexlist, 'I');
+ send_mode_list(client_p, chptr, &chptr->exceptlist, 'e');
+ send_mode_list(client_p, chptr, &chptr->invexlist, 'I');
}
/*! \brief check channel name for invalid characters