diff options
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++) |