(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