From 02c114d8361b88ce3824bbee8114ba450b203b56 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 May 2007 15:49:57 +0000 Subject: Fix channel TS not being set correctly on creation of new channel git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 1b662a269..b2e687b2c 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -851,10 +851,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque &p for (std::string::iterator x = modes.begin(); x != modes.end(); ++x) modestack.Push(*x, who->nick); - if (created) - chanrec::JoinUser(this->Instance, who, channel.c_str(), true, "", TS); - else - chanrec::JoinUser(this->Instance, who, channel.c_str(), true, ""); + chanrec::JoinUser(this->Instance, who, channel.c_str(), true, "", TS); } else { -- cgit v1.2.3