diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 21:52:38 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 21:52:38 +0000 |
commit | 8e0c895fb7cd2921e60eaeb4ca13cca5878499cf (patch) | |
tree | 8dfa5716a55f809e651764ef13650392230d62b9 /src | |
parent | ceb49f8b90f874f1823107d8a24fb60c1929c839 (diff) |
Fix TOPIC to work on propegation again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10105 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/channels.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 2dc668f31..4d32f6719 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -100,10 +100,9 @@ int Channel::SetTopic(User *u, std::string &ntopic, bool forceset) } } } - - this->topic.assign(ntopic, 0, ServerInstance->Config->Limits.MaxTopic); } + this->topic.assign(ntopic, 0, ServerInstance->Config->Limits.MaxTopic); this->setby.assign(ServerInstance->Config->FullHostInTopic ? u->GetFullHost() : u->nick, 0, 128); this->topicset = ServerInstance->Time(); this->WriteChannel(u, "TOPIC %s :%s", this->name.c_str(), this->topic.c_str()); |