summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 5fef5a608..80145ebee 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -536,22 +536,22 @@ bool Server::IsOnChannel(userrec* User, chanrec* Chan)
std::string Server::GetServerName()
{
- return getservername();
+ return Config->ServerName;
}
std::string Server::GetNetworkName()
{
- return getnetworkname();
+ return Config->Network;
}
std::string Server::GetServerDescription()
{
- return getserverdesc();
+ return Config->ServerDesc;
}
Admin Server::GetAdmin()
{
- return Admin(getadminname(),getadminemail(),getadminnick());
+ return Admin(Config->AdminName,Config->AdminEmail,Config->AdminNick);
}