mirror of
https://github.com/anope/anope.git
synced 2026-07-07 05:53:13 +02:00
Remove is_services_admin() check from cs_enforce to allow build to succeed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2261 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -193,7 +193,7 @@ class CommandCSEnforce : public Command
|
||||
notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, chan);
|
||||
else if (ci->flags & CI_FORBIDDEN)
|
||||
notice_lang(s_ChanServ, u, CHAN_X_FORBIDDEN, ci->name);
|
||||
else if (!is_services_admin(u) && !check_access(u, ci, CA_AKICK))
|
||||
else if (!check_access(u, ci, CA_AKICK))
|
||||
notice_lang(s_ChanServ, u, PERMISSION_DENIED);
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user