1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 14:53:12 +02:00

Show access denied if you do not have access to CS SUSPEND, patch from Adam.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2177 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-03-20 02:21:32 +00:00
parent 26e09b3b7f
commit a7189482f5
+3
View File
@@ -33,7 +33,10 @@ class CommandCSSuspend : public Command
Channel *c;
if (!u->nc->HasCommand("chanserv/suspend"))
{
notice_lang(s_ChanServ, u, ACCESS_DENIED);
return MOD_CONT; // XXX: error?
}
/* Assumes that permission checking has already been done. */
if (ForceForbidReason && !reason)