aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/ftopic.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-09-21 20:06:39 +0100
committerGravatar Sadie Powell2023-09-21 20:06:39 +0100
commite9271fcb4962b2ab55c994025038604d543c7488 (patch)
tree1cd50821de7b122a4986a011e99568a47b5572d6 /src/modules/m_spanningtree/ftopic.cpp
parentFix a nonsense comment in the cloak API header. (diff)
Rename <options:hostintopic> to <options:maskintopic>.
This option stores the user *mask* not the user host so the old name is incorrect.
Diffstat (limited to 'src/modules/m_spanningtree/ftopic.cpp')
-rw-r--r--src/modules/m_spanningtree/ftopic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/ftopic.cpp b/src/modules/m_spanningtree/ftopic.cpp
index 4ecf5d616..4e4bf6078 100644
--- a/src/modules/m_spanningtree/ftopic.cpp
+++ b/src/modules/m_spanningtree/ftopic.cpp
@@ -45,7 +45,7 @@ CmdResult CommandFTopic::Handle(User* user, Params& params)
const std::string& newtopic = params.back();
// If there is a setter in the message use that, otherwise use the message source
- const std::string& setter = ((params.size() > 4) ? params[3] : (ServerInstance->Config->FullHostInTopic ? user->GetMask() : user->nick));
+ const std::string& setter = ((params.size() > 4) ? params[3] : (ServerInstance->Config->MaskInTopic ? user->GetMask() : user->nick));
/*
* If the topics were updated at the exact same second, accept