]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/channels.cpp
m_monitor Add inline keyword to IRCv3::Monitor::Manager::ExtItem::unserialize to...
[user/henk/code/inspircd.git] / src / channels.cpp
index 30bddec5c2bd3470a8e0954343b82d938f4f98cc..7f2485a49903ebcf4ebe34b77432bc4da7bf555f 100644 (file)
@@ -58,7 +58,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->GetFullHost() : &u->nick;
-       this->setby.assign(*setter, 0, 128);
+       this->setby.assign(*setter, 0, ServerInstance->Config->Limits.GetMaxMask());
        this->topicset = topicts;
 
        FOREACH_MOD(OnPostTopicChange, (u, this, this->topic));