From fe26d8299df2696f2b26aa5e2011050af44de06a Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 18 Oct 2008 16:52:56 +0000 Subject: Tie module version display to servers/auspex priv. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cmd_modules.cpp b/src/commands/cmd_modules.cpp index b45490175..9579c83d9 100644 --- a/src/commands/cmd_modules.cpp +++ b/src/commands/cmd_modules.cpp @@ -30,7 +30,7 @@ CmdResult CommandModules::Handle (const std::vector&, User *user) Module* m = ServerInstance->Modules->Find(module_names[i]); Version V = m->GetVersion(); - if (IS_OPER(user)) + if (user->HasPrivPermission("servers/auspex")) { std::string flags("Svsc"); int pos = 0; -- cgit v1.2.3