ignore mutations of rawm while iterating
This commit is contained in:
parent
bccf3c855a
commit
2ac269d7f8
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -103,7 +103,7 @@ class Server(BaseServer):
|
|||
await self.handle_command(channel, nick, msg)
|
||||
|
||||
async def handle_rawm(self, channel, nick, msg):
|
||||
for i in shared.rawm:
|
||||
for i in list(shared.rawm):
|
||||
await shared.rawm[i](self, channel, nick, msg)
|
||||
|
||||
async def handle_command(self, channel, nick, msg):
|
||||
|
|
Loading…
Reference in a new issue