From dc102049b0e91c5aa730f067c26e33f3e138386d Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Tue, 5 May 2009 22:26:41 +0000 Subject: Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds optional parameter to Command class constructor that takes the opertype permissions for the command. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_staff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/os_staff.c') diff --git a/src/core/os_staff.c b/src/core/os_staff.c index f49427e12..3aa5bc3c2 100644 --- a/src/core/os_staff.c +++ b/src/core/os_staff.c @@ -21,7 +21,7 @@ int opers_list(int number, NickCore *nc, User *u, char *level); class CommandOSStaff : public Command { public: - CommandOSStaff() : Command("STAFF", 0, 0) + CommandOSStaff() : Command("STAFF", 0, 0, "operserv/staff") { } -- cgit