fix IRCChannel.topic_setter type hint

This commit is contained in:
jesopo 2019-10-08 14:55:36 +01:00
parent a5e489655d
commit f8662ad6e1

View file

@ -14,7 +14,7 @@ class Channel(IRCObject.Object):
self.server = server self.server = server
self.bot = bot self.bot = bot
self.topic = "" self.topic = ""
self.topic_setter = None # type: typing.Optional[str] self.topic_setter = None # type: typing.Optional[IRCLine.Hostmask]
self.topic_time = 0 self.topic_time = 0
self.users = set([]) # type: typing.Set[IRCUser.User] self.users = set([]) # type: typing.Set[IRCUser.User]
self.modes = {} # type: typing.Dict[str, typing.Set] self.modes = {} # type: typing.Dict[str, typing.Set]