]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermotd.cpp
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
[user/henk/code/inspircd.git] / src / modules / m_opermotd.cpp
index aa927ad38e1e2cd5d0a51e503d0e17e484fb412b..fcb5f1a695f7e6698738a9ea83a0575fc18e8546 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.
@@ -73,7 +73,7 @@ class ModuleOpermotd : public Module
                        opermotd = NULL;
                }
                opermotd = new FileReader(ServerInstance, filename);
-               onoper = conf->ReadFlag("opermoth","onoper","yes",0);
+               onoper = conf->ReadFlag("opermotd","onoper","yes",0);
                delete conf;
        }
 
@@ -105,7 +105,7 @@ class ModuleOpermotd : public Module
                        ShowOperMOTD(user);
        }
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                LoadOperMOTD();
        }