diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-24 02:53:45 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-24 02:53:45 +0000 |
commit | 0da6b3a13def40e8fd002b9fc60f955467f6372d (patch) | |
tree | d4aa39ece30255afe7447fb46f39c45c39d679a3 /src/modules/m_override.cpp | |
parent | 5f309503fa985faa5b255246fc0415455c1c65ee (diff) |
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of rehashes on a /REHASH *
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r-- | src/modules/m_override.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 8f0b0aa2d..68a3f0115 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -33,7 +33,7 @@ class ModuleOverride : public Module : Module(Me) { // read our config options (main config file) - OnRehash(NULL,""); + OnRehash(NULL); ServerInstance->SNO->EnableSnomask('G', "GODMODE"); if (!ServerInstance->Modules->PublishFeature("Override", this)) { @@ -45,7 +45,7 @@ class ModuleOverride : public Module ServerInstance->Modules->Attach(eventlist, this, 8); } - virtual void OnRehash(User* user, const std::string ¶meter) + virtual void OnRehash(User* user) { // on a rehash we delete our classes for good measure and create them again. ConfigReader Conf(ServerInstance); |