mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Services: catch occasional error when removing waiting joins from list
This commit is contained in:
parent
1e337bdfa9
commit
3a96f6735b
@ -319,7 +319,10 @@ class Services(callbacks.Plugin):
|
||||
for netname, m in tmp_wj:
|
||||
if netname == irc.network:
|
||||
irc.sendMsg(m)
|
||||
self.waitingJoins.remove((netname, m,))
|
||||
try:
|
||||
self.waitingJoins.remove((netname, m,))
|
||||
except ValueError:
|
||||
pass # weird stuff happen sometimes
|
||||
elif 'not yet authenticated' in s:
|
||||
# zirc.org has this, it requires an auth code.
|
||||
email = s.split()[-1]
|
||||
|
Loading…
Reference in New Issue
Block a user