From 8e0c895fb7cd2921e60eaeb4ca13cca5878499cf Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 5 Aug 2008 21:52:38 +0000 Subject: Fix TOPIC to work on propegation again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10105 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/channels.cpp') 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()); -- cgit v1.2.3