summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-08 17:21:01 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-08 17:21:01 +0200
commitdeb18ee9cfa531a87141aea61171c6899ef7d687 (patch)
tree1ec3176daed470b8b44e08b7bbc2f861457a9368 /src/commands
parent992674362c5f64bdb8e1942eeaa7612524529cd6 (diff)
Remove InspIRCd::HandleRehash functor
Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_rehash.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp
index 3dc454036..441ddbd2a 100644
--- a/src/commands/cmd_rehash.cpp
+++ b/src/commands/cmd_rehash.cpp
@@ -88,11 +88,7 @@ CmdResult CommandRehash::Handle (const std::vector<std::string>& parameters, Use
/* Don't do anything with the logs here -- logs are restarted
* after the config thread has completed.
*/
- FOREACH_MOD(OnGarbageCollect, ());
-
-
- ServerInstance->ConfigThread = new ConfigReaderThread(user->uuid);
- ServerInstance->Threads->Start(ServerInstance->ConfigThread);
+ ServerInstance->Rehash();
}
else
{