Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Mon, 29 Jan 2001 17:46:31 +0000 (17:46 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Mon, 29 Jan 2001 17:46:31 +0000 (17:46 +0000)
commitb82de00525251410a50b42966dfd7a7af2f28a7d
tree9bb69a25cc3542bfff1b8a48777662d6b9192e36
parentdd540e7c8fe74d1940348277f125fd4ca7eeafc3
Author: Kev <klmitch@mit.edu>
Log message:

Fixes for 3 bugs:

1) /mode <nick> -o wasn't propagated; the privileges were being set before
   send_umode_out() could get at them, so the PRIV_PROPAGATE setting went
   away.

2) /mode #channel +b banmask, under certain circumstances, would allow
   multiple bans of the exact same mask to be added to the channel.

3) /mode #channel +b banmask would leak memory if another ban of the exact
   same mask was already present on the channel (and bug #2 wasn't
   triggered).

Testing:

Compiled and ran; unable to duplicate the errors, now.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@382 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
include/s_user.h
ircd/channel.c
ircd/m_oper.c
ircd/s_user.c