Skip to content

Commit 69068bf

Browse files
authored
Merge pull request CloudBotIRC#149 from linuxdaemon/gonzobot+autojoin
forgot to yield from a coroutine in autojoin.py
2 parents e9bdee4 + 9f2675d commit 69068bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/autojoin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_channels(db, conn):
2222
@asyncio.coroutine
2323
@hook.irc_raw('004')
2424
def do_joins(db, conn, async):
25-
chans = async(get_channels, db, conn)
25+
chans = yield from async(get_channels, db, conn)
2626
for chan in chans:
2727
conn.join(chan[1])
2828
yield from asyncio.sleep(0.4)

0 commit comments

Comments
 (0)