]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_modules.cpp
Patch to not increment nickchange counter for nick changes that would be blocked...
[user/henk/code/inspircd.git] / src / commands / cmd_modules.cpp
index b454901758475b9e2dd78fc21f5dbfc97ae33c18..36e2e9109f773491b2bbfce04c24bf9587f90343 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -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;