- 24C203C6741B7EB17BF86C2A1046D5BE50F4FDECC7E9B4E5316E2F9101BEDEE9B84CE01A666EDF98F6545574571358E5B2EBC19B12C941F006BC1182DC2992F2
+ 4A412C5198C031650023FCBEB12ECB8F2144D9CEF45B9996873C444A8FC246E61B96755250DD0D76EF7B9087CBB49121CE7BCBADC2E043AC7B0114FD5514EB4F
blatta/lib/station.py
(1 . 4)(1 . 6)
43 VERSION = 9982
44 import time
45
46 VERSION = 9981
47
48 import binascii
49 import logging
(206 . 11)(208 . 17)
51 if self.long_buffer.has(message.message_hash):
52 return
53
54 # set a timestamp warning if the message is older than the last displayed message.
55 message.set_warning()
56
57 # send to the irc client
58 if self.client:
59 # emit a replay warning if this message is a getdata response and older than the last
60 # displayed message
61 if message.get_data_response:
62 if message.timestamp < self.state.get_latest_message_timestamp():
63 warning = time.strftime(
64 "Replay: %Y-%m-%d %H:%M:%S:",
65 time.localtime(message.timestamp)
66 )
67 self.client.pest_reply(warning)
68 self.client.message_from_station(message)
69
70 # we only update the address table if the speaker is same as peer