mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 00:24:00 +02:00
Remove non-working topic handler
This commit is contained in:
parent
837732436b
commit
3cf3d182cf
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ class IrcThread(threading.Thread):
|
||||||
self.connection.add_global_handler("welcome", partial(IrcThread.onConnect, self))
|
self.connection.add_global_handler("welcome", partial(IrcThread.onConnect, self))
|
||||||
self.connection.add_global_handler("disconnect", partial(IrcThread.onDisconnect, self))
|
self.connection.add_global_handler("disconnect", partial(IrcThread.onDisconnect, self))
|
||||||
self.connection.add_global_handler("join", partial(IrcThread.onJoin, self))
|
self.connection.add_global_handler("join", partial(IrcThread.onJoin, self))
|
||||||
self.connection.add_global_handler("topic", partial(IrcThread.onTopic, self))
|
# Topic handler requires sadly completely different API to retrieve topic
|
||||||
self.connection.add_global_handler("on_topic", partial(IrcThread.onTopic, self))
|
# see https://github.com/jaraco/irc/issues/132
|
||||||
|
|
||||||
while self.getConnected():
|
while self.getConnected():
|
||||||
self.reactor.process_once(timeout=5)
|
self.reactor.process_once(timeout=5)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue