diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 15:55:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 15:55:26 +0000 |
commit | 997ba7e5be054e9927acec538c5c04a15482b941 (patch) | |
tree | 97e11d17385a05538d6a707ea46970c77ce6fbc4 /src/modules.cpp | |
parent | 65198c37b4da57c6c5e16d008a7d3c43b573fadf (diff) |
Added way to retrieve a pointer to the ServerConfig object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2419 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
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++) |