mirror of
https://github.com/anope/anope.git
synced 2026-07-09 23:23:13 +02:00
Allow superadmins and ulines to join channels always
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2916 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -574,12 +574,12 @@ bool ChannelInfo::CheckKick(User *user)
|
||||
return false;
|
||||
|
||||
if (user->isSuperAdmin == 1)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
/* We don't enforce services restrictions on clients on ulined services
|
||||
* as this will likely lead to kick/rejoin floods. ~ Viper */
|
||||
if (is_ulined(user->server->name))
|
||||
return true;
|
||||
return false;
|
||||
|
||||
if (this->HasFlag(CI_SUSPENDED) || this->HasFlag(CI_FORBIDDEN))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user