From 6a6f5b2275b1bfc0ab1e2b1393ec1df2fa734c86 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 31 Dec 2006 19:17:04 +0000 Subject: 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 --- src/modules.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 69506c7a6..a67ebc6da 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -348,6 +348,7 @@ void InspIRCd::RehashServer() this->WriteOpers("*** Rehashing config file"); this->RehashUsersAndChans(); this->Config->Read(false,NULL); + this->Res->Rehash(); } /* This is ugly, yes, but hash_map's arent designed to be -- cgit v1.2.3