]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqllog.cpp
Allow commands to optionally route themselves using ENCAP
[user/henk/code/inspircd.git] / src / modules / extra / m_sqllog.cpp
index a3f99535536c72eb4ec978177426f1111180fa3f..c952d495e1d81027efa832b24d4cceb1b1f21f63 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.
@@ -195,7 +195,7 @@ class ModuleSQLLog : public Module
 
                SQLModule = ServerInstance->Modules->FindFeature("SQL");
 
-               OnRehash(NULL,"");
+               OnRehash(NULL);
                MyMod = this;
                active_queries.clear();
 
@@ -217,7 +217,7 @@ class ModuleSQLLog : public Module
                dbid = Conf.ReadValue("sqllog","dbid",0);       // database id of a database configured in sql module
        }
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                ReadConfig();
        }