mirror of
https://github.com/anope/anope.git
synced 2026-07-04 20:53:12 +02:00
Fix for bug #1004, based from second half of patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2003 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -280,6 +280,11 @@ void chan_set_modes(const char *source, Channel * chan, int ac, const char **av,
|
||||
}
|
||||
}
|
||||
|
||||
// Don't bounce modes from u:lined clients or servers, bug #1004
|
||||
user = finduser(source);
|
||||
if ((user && is_ulined(user->server->name)) || is_ulined(source))
|
||||
return;
|
||||
|
||||
if (check > 0)
|
||||
{
|
||||
check_modes(chan);
|
||||
|
||||
Reference in New Issue
Block a user