aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-12-21 16:40:32 +0000
committerGravatar Sadie Powell2020-12-21 16:40:52 +0000
commita63b6e16df8c2764d3d054c125239d129582d9dc (patch)
treef31ef63e126c677bf178de90775f111b29b70071 /src/modules/m_permchannels.cpp
parentUse unicode box drawing characters in the /MAP output. (diff)
parentReplace the SERVER stub command with something actually useful. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 4dcb362f5..031fc512e 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -225,7 +225,7 @@ public:
topicset = ServerInstance->Time();
std::string topicsetby = tag->getString("topicsetby");
if (topicsetby.empty())
- topicsetby = ServerInstance->Config->ServerName;
+ topicsetby = ServerInstance->Config->GetServerName();
c->SetTopic(ServerInstance->FakeClient, topic, topicset, &topicsetby);
}