diff options
| author | Adam <Adam@anope.org> | 2013-04-11 00:08:28 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-04-11 00:08:28 -0500 |
| commit | 4f9b7874d6b3a41939ecc2e872ec08d03af7b5f1 (patch) | |
| tree | 43162205d31b277c9ff12ee28b7e3a60d6382316 /src/config.cpp | |
| parent | 207c46c871e85b55ae66acc456c6bc412c0c79f9 (diff) | |
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
Diffstat (limited to 'src/config.cpp')
| -rw-r--r-- | src/config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index 2637964fa..bc01a1589 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -142,6 +142,9 @@ ServerConfig::ServerConfig() if (this->SessionIPv4CIDR > 32 || this->SessionIPv6CIDR > 128) throw ConfigException("Session CIDR value out of range"); + ConfigReader reader(this); + FOREACH_MOD(I_OnReload, OnReload(this, reader)); + #ifndef _WIN32 if (!this->User.empty()) { |
