X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules.h;h=b36326b1b6b5b5874dfef96552852caa07cb9c49;hb=c05f81cac83e80c7727594e3929e0709eccca689;hp=a6450547cf090ad18879ded45dd575352c49b856;hpb=e81dcaec7f8d3032b1931c8aa24cc945dac4c3a3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules.h b/include/modules.h index a6450547c..b36326b1b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -11,9 +11,10 @@ * Copyright (C) 2009 Uli Schlachter * Copyright (C) 2008 Thomas Stagner * Copyright (C) 2007-2009 Robin Burchell - * Copyright (C) 2007-2008, 2010 Craig Edwards * Copyright (C) 2007 Oliver Lupton - * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2006-2007 Dennis Friis + * Copyright (C) 2006 John Brooks + * Copyright (C) 2003-2008, 2010 Craig Edwards * * 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 @@ -36,7 +37,6 @@ #include "base.h" #include "ctables.h" #include "inspsocket.h" -#include "timer.h" #include "mode.h" /** Used to specify the behaviour of a module. */ @@ -1050,6 +1050,7 @@ class CoreExport Module : public classbase, public usecountbase class CoreExport ModuleManager : public fakederef { public: + typedef std::multimap DataProviderMap; typedef std::vector ServiceList; private: @@ -1092,7 +1093,7 @@ class CoreExport ModuleManager : public fakederef Module::List EventHandlers[I_END]; /** List of data services keyed by name */ - std::multimap DataProviders; + DataProviderMap DataProviders; /** A list of ServiceProviders waiting to be registered. * Non-NULL when constructing a Module, NULL otherwise.