summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 629672b24..5fef5a608 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -329,6 +329,11 @@ void Server::RehashServer()
Config->Read(false,NULL);
}
+ServerConfig* Server::GetConfig()
+{
+ return Config;
+}
+
void Server::DelSocket(InspSocket* sock)
{
for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++)