X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodmanager_static.cpp;h=bb8fda400bd33b8672a2bb8e26a67bd315b16a51;hb=34b2dde776b332116d04cea356843b324ab099fb;hp=534dcdec0871ebf36c1b309d1357131bf5302d85;hpb=7cb909b0f3378b7f8f7e2e2fe067685c9e788f6c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index 534dcdec0..bb8fda400 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -1,4 +1,23 @@ -#define MODNAME AllModule +/* + * InspIRCd -- Internet Relay Chat Daemon + * + * Copyright (C) 2009-2010 Daniel De Graaf + * + * 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 . + */ + + +#define MODNAME cmd_all #include "inspircd.h" #include "exitcodes.h" @@ -161,7 +180,8 @@ void ModuleManager::Reload(Module* mod, HandlerBase1* 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