[ircd-ratbox] [PATCH] topicburst fix

Tomáš Janoušek tomi at nomi.cz
Sun Jul 24 14:06:10 UTC 2005


Hello,
we're not willing to keep the oldest topic, are we? ;)

--- m_tb.c.orig 2005-07-24 16:04:19.000000000 +0200
+++ m_tb.c      2005-07-24 16:04:34.000000000 +0200
@@ -87,7 +87,7 @@
                newtopicwho = source_p->name;
        }
 
-       if(chptr->topic == NULL || chptr->topic_time > newtopicts)
+       if(chptr->topic == NULL || chptr->topic_time < newtopicts)
        {
                /* its possible the topicts is a few seconds out on some
                 * servers, due to lag when propagating it, so if theyre the
-- 
.---------    Tomáš Janoušek   a.k.a. Liskni_si    ---------.
: NOMI team, developer, http://tomi.nomi.cz/   tomi at nomi.cz :
' JID:liskni_si at jabber.cz, ICQ#161807083, tel:+420608876277 '


More information about the ircd-ratbox mailing list