From 5c20f1aee03f89eafffa0bd8fa9a100ae877d38c Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Wed, 30 Mar 2005 04:01:17 +0000 Subject: [PATCH] Remove redundant check for being banned in ms_part(). git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1344 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 6 ++++++ ircd/m_part.c | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 08001cc..5e5c034 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-03-29 Michael Poole + (The previously unapplied part of another patch (by Carlo Wood?).) + + * ircd/m_part.c (ms_part): Remove a check that should already be + done by the user's own server. + 2005-03-29 Michael Poole * doc/example.conf: Add HIS_STATS_J entry. diff --git a/ircd/m_part.c b/ircd/m_part.c index fd90fbb..bc34ce9 100644 --- a/ircd/m_part.c +++ b/ircd/m_part.c @@ -201,14 +201,6 @@ int ms_part(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) if (IsDelayedJoin(member)) flags |= CHFL_DELAYED; - /* - * XXX BUG: If a client /part's with a part notice, on channels where - * he's banned, local clients will not see the part notice, but remote - * clients will. - */ - if (!member_can_send_to_channel(member, 0)) - flags |= CHFL_BANNED; - /* part user from channel */ joinbuf_join(&parts, chptr, flags); } -- 2.20.1