diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:56 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:56 +0000 |
commit | fe26d8299df2696f2b26aa5e2011050af44de06a (patch) | |
tree | 170d1eb1b8faa1fd183eaac1e8fd5e502dfad932 /src/commands | |
parent | dd82cae06eaf6a1ca522a567fe49a656405bc19b (diff) |
Tie module version display to servers/auspex priv.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>&, 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; |