mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Use privmsg_many instead of iterating over channels with privmsg
This commit is contained in:
parent
055706e85c
commit
5730ad184c
1 changed files with 1 additions and 2 deletions
|
@ -250,8 +250,7 @@ class IrcThread(threading.Thread):
|
|||
self.reactor.process_once(timeout=5)
|
||||
try:
|
||||
msg = self.msgQueue.get_nowait()
|
||||
for channel in self.channels:
|
||||
self.connection.privmsg(channel, msg)
|
||||
self.connection.privmsg_many(self.channels, msg)
|
||||
except Queue.Empty:
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue