summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 15:55:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 15:55:26 +0000
commit997ba7e5be054e9927acec538c5c04a15482b941 (patch)
tree97e11d17385a05538d6a707ea46970c77ce6fbc4 /include/modules.h
parent65198c37b4da57c6c5e16d008a7d3c43b573fadf (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 'include/modules.h')
-rw-r--r--include/modules.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 71bec2d3d..2a7525c07 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1104,7 +1104,11 @@ class Server : public classbase
* Destroys a Server object.
*/
virtual ~Server();
-
+ /** Obtains a pointer to the server's ServerConfig object.
+ * The ServerConfig object contains most of the configuration data
+ * of the IRC server, as read from the config file by the core.
+ */
+ ServerConfig* GetConfig();
/** Sends text to all opers.
* This method sends a server notice to all opers with the usermode +s.
*/