]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_static.cpp
m_callerid Use std::find() where possible
[user/henk/code/inspircd.git] / src / modmanager_static.cpp
index 534dcdec0871ebf36c1b309d1357131bf5302d85..bb8fda400bd33b8672a2bb8e26a67bd315b16a51 100644 (file)
@@ -1,4 +1,23 @@
-#define MODNAME AllModule
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
+ *
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#define MODNAME cmd_all
 
 #include "inspircd.h"
 #include "exitcodes.h"
@@ -161,7 +180,8 @@ void ModuleManager::Reload(Module* mod, HandlerBase1<void, bool>* callback)
 
 void ModuleManager::LoadAll()
 {
-       Load("AllModule", true);
+       Load("cmd_all", true);
+       Load("cmd_whowas.so", true);
 
        ConfigTagList tags = ServerInstance->Config->ConfTags("module");
        for(ConfigIter i = tags.first; i != tags.second; ++i)
@@ -214,8 +234,4 @@ void ModuleManager::LoadAll()
        }
 }
 
-void ModuleManager::UnloadAll()
-{
-}
-
 #endif