]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqloper.cpp
Replace std::deque with std::vector in spanningtree and related modules
[user/henk/code/inspircd.git] / src / modules / extra / m_sqloper.cpp
index b16ebd12b88275415aca2cc8dd1fa120ee102b61..52a73eba90963d8ea121f2ede0ea848a79a6e399 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -29,7 +29,7 @@ class ModuleSQLOper : public Module
        irc::string hashtype;
        hashymodules hashers;
        bool diduseiface;
-       std::deque<std::string> names;
+       parameterlist names;
 
 public:
        ModuleSQLOper(InspIRCd* Me)
@@ -39,7 +39,7 @@ public:
                ServerInstance->Modules->UseInterface("SQL");
                ServerInstance->Modules->UseInterface("HashRequest");
 
-               OnRehash(NULL, "");
+               OnRehash(NULL);
 
                diduseiface = false;
 
@@ -112,7 +112,7 @@ public:
        }
 
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                ConfigReader Conf(ServerInstance);