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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user