4
0
mirror of https://github.com/jesopo/ircstates synced 2024-06-27 11:17:12 +00:00

use line.source, that's what str(hostmask) does, null source throws on hostmask

This commit is contained in:
jesopo 2020-07-03 23:15:39 +01:00
parent d76f50dac0
commit adacb19c77

View File

@ -379,7 +379,7 @@ class Server(object):
channel = self.channels[channel_lower]
emit.channel = channel
channel.topic = line.params[1]
channel.topic_setter = str(line.hostmask)
channel.topic_setter = line.source
channel.topic_time = now("utc")
return emit