summaryrefslogtreecommitdiff
path: root/src/coremods/core_stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_stub.cpp')
-rw-r--r--src/coremods/core_stub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_stub.cpp b/src/coremods/core_stub.cpp
index 1e9c83024..0b7cfaa32 100644
--- a/src/coremods/core_stub.cpp
+++ b/src/coremods/core_stub.cpp
@@ -77,7 +77,7 @@ class CommandLinks : public Command
*/
CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
{
- user->WriteNumeric(RPL_LINKS, ServerInstance->Config->ServerName, ServerInstance->Config->ServerName, InspIRCd::Format("0 %s", ServerInstance->Config->ServerDesc.c_str()));
+ user->WriteNumeric(RPL_LINKS, ServerInstance->Config->GetServerName(), ServerInstance->Config->GetServerName(), InspIRCd::Format("0 %s", ServerInstance->Config->GetServerDesc().c_str()));
user->WriteNumeric(RPL_ENDOFLINKS, '*', "End of /LINKS list.");
return CMD_SUCCESS;
}