diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) |