diff options
| author | 2005-11-30 15:35:15 +0000 | |
|---|---|---|
| committer | 2005-11-30 15:35:15 +0000 | |
| commit | 5a331966832a930d4770752f5e60338581830887 (patch) | |
| tree | 484adbd474ba9b0f206b89e31969b245221f570a /src/modules.cpp | |
| parent | Added onrehash parameter (diff) | |
Added Server::RehashServer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2060 e03df62e-2008-0410-955e-edbf42e46eb7
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++) |
