summaryrefslogtreecommitdiff
path: root/src/cmd_rehash.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-31 19:17:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-31 19:17:04 +0000
commit6a6f5b2275b1bfc0ab1e2b1393ec1df2fa734c86 (patch)
tree5581a4ad71a9c3e44e6729fde2d8ca708f046636 /src/cmd_rehash.cpp
parent739b08770578b891cab4c824ca29eeb01445457f (diff)
Add missing feature: /rehash reinitializes dns subsytem (and can handle changed addresses)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6193 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_rehash.cpp')
-rw-r--r--src/cmd_rehash.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp
index f5e65d6b2..579c04300 100644
--- a/src/cmd_rehash.cpp
+++ b/src/cmd_rehash.cpp
@@ -40,6 +40,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user)
ServerInstance->RehashUsersAndChans();
FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect());
ServerInstance->Config->Read(false,user);
+ ServerInstance->Res->Rehash();
}
if (old_disabled != ServerInstance->Config->DisabledCommands)
InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance);