diff options
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index 6473cf830..97abbbe0e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -17,6 +17,7 @@ #include "opertype.h" #include "channels.h" #include "hashcomp.h" +#include "event.h" using namespace Configuration; @@ -130,7 +131,8 @@ Conf::Conf() : Block("") this->LoadConf(f); } - FOREACH_MOD(OnReload, (this)); + for (Module *m : ModuleManager::Modules) + m->OnReload(this); /* Check for modified values that aren't allowed to be modified */ if (Config) |