aboutsummaryrefslogtreecommitdiff
path: root/src/channels.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/channels.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/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index c94832327..3761415c8 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -61,7 +61,7 @@ void Channel::SetTopic(User* u, const std::string& ntopic, time_t topicts, const
// Always update setter and set time
if (!setter)
- setter = ServerInstance->Config->FullHostInTopic ? &u->GetMask() : &u->nick;
+ setter = ServerInstance->Config->MaskInTopic ? &u->GetMask() : &u->nick;
this->setby.assign(*setter, 0, ServerInstance->Config->Limits.GetMaxMask());
this->topicset = topicts;