diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 20:58:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 20:58:38 +0000 |
commit | 7a566e345cf02dea057b071d56f795e5e2736f80 (patch) | |
tree | 95753a66fba504e3416411f8d62acd83bc205ae3 /src/modules.cpp | |
parent | a61e6b29163201b31f539658aade078fa56da318 (diff) |
Added Server::GetVersion()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2455 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 e2c131780..93f05cdf1 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -326,6 +326,11 @@ ServerConfig* Server::GetConfig() return Config; } +std::string Server::GetVersion() +{ + return ServerInstance->GetVersionString(); +} + void Server::DelSocket(InspSocket* sock) { for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) |