summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:58:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:58:38 +0000
commit7a566e345cf02dea057b071d56f795e5e2736f80 (patch)
tree95753a66fba504e3416411f8d62acd83bc205ae3 /include
parenta61e6b29163201b31f539658aade078fa56da318 (diff)
Added Server::GetVersion()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2455 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 452ec72d5..77f986f0d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1113,6 +1113,9 @@ class Server : public classbase
* This method sends a server notice to all opers with the usermode +s.
*/
virtual void SendOpers(std::string s);
+ /** Returns the version string of this server
+ */
+ std::string GetVersion();
/** Writes a log string.
* This method writes a line of text to the log. If the level given is lower than the
* level given in the configuration, this command has no effect.