From 5a331966832a930d4770752f5e60338581830887 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 15:35:15 +0000 Subject: Added Server::RehashServer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2060 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index a1c9ca811..0541c266d 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -384,6 +384,12 @@ void Server::AddSocket(InspSocket* sock) module_sockets.push_back(sock); } +void Server::RehashServer() +{ + WriteOpers("*** Rehashing config file"); + ReadConfig(false,NULL); +} + void Server::DelSocket(InspSocket* sock) { for (std::vector::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) -- cgit v1.2.3