]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_modules.cpp
Fix obvious oversight spotted by Ankit, provide xline reasons when adding them
[user/henk/code/inspircd.git] / src / commands / cmd_modules.cpp
index b454901758475b9e2dd78fc21f5dbfc97ae33c18..9579c83d9c2254b0f2cbae4525c15e181c4221f7 100644 (file)
@@ -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;