]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/fjoin.cpp
Fix a result of Tired Coding (tm)
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / fjoin.cpp
index 8048f36041c2e61a302346cc2e1ebb12d876113d..d2c787eb4bc9102c74dbbe07f4c89e75e34c56ab 100644 (file)
@@ -77,8 +77,8 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
 
        if (created)
        {
-               ServerInstance->SNO->WriteToSnoMask('d', "Creation FJOIN recieved for %s, timestamp: %lu", chan->name.c_str(), (unsigned long)TS);
                chan = new Channel(ServerInstance, channel, TS);
+               ServerInstance->SNO->WriteToSnoMask('d', "Creation FJOIN recieved for %s, timestamp: %lu", chan->name.c_str(), (unsigned long)TS);
        }
        else
        {