--- QuoteGrabs/plugin.py 2007-10-18 20:37:32.000000000 -0700 +++ QuoteGrabs-new/plugin.py 2007-11-13 02:13:01.000000000 -0800 @@ -98,6 +98,7 @@ regexTextParse = re.compile(r"^\[([0-9]+)x?(?:\:((?:[0-9]+,)+[0-9]+))?\] (.*)$") regexEndsWithNumber = re.compile(r"^(?:(.+) )?([0-9]+)$") regexEscape = re.compile(r"([\[\]\\\$\.\|\?\*\+\(\)\{\}])") +lastStamp = 0 def escape(str1): return regexEscape.sub(lambda s: '\\' + s.groups()[0], str1) @@ -524,6 +525,11 @@ # Let's try this little trick... if msg.command in ('PRIVMSG', 'NOTICE'): # Other messages should be sent back to us. + if not msg.time: + lastStamp = lastStamp + 0.0001 + msg.time = lastStamp + else: + lastStamp = msg.time m = ircmsgs.IrcMsg(msg=msg, prefix=irc.prefix, timestamp=msg.time+0.0001) self.myhistory.append(m) return msg