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:
parent
d76f50dac0
commit
adacb19c77
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user