1
0
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:
Adam-
2010-04-25 23:12:27 +00:00
parent 1528727cc8
commit 582212b361
+2 -2
View File
@@ -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))
{