From 54762245b84519c5f2d805d6c4e9bf735895da78 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sun, 8 Mar 2009 03:10:21 +0000 Subject: Fix bug #1027, properly send a Globop on CS DROP, patch provided by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2146 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_drop.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index cf30df8dc..9098f73e0 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -94,8 +94,10 @@ class CommandCSDrop : public Command /* We must make sure that the Services admin has not normally the right to * drop the channel before issuing the wallops. */ - if (WallDrop && level < ACCESS_FOUNDER) - ircdproto->SendGlobops(s_ChanServ, "\2%s\2 used DROP on channel \2%s\2", u->nick, chan); + if (WallDrop) { + if ((level < ACCESS_FOUNDER) || (!is_real_founder(u, ci) && ci->flags & CI_SECUREFOUNDER)) + ircdproto->SendGlobops(s_ChanServ, "\2%s\2 used DROP on channel \2%s\2", u->nick, chan); + } notice_lang(s_ChanServ, u, CHAN_DROPPED, chan); send_event(EVENT_CHAN_DROP, 1, chan); -- cgit