mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
parent
8c3304c520
commit
761435ba1a
@ -325,7 +325,10 @@ class Services(callbacks.Plugin):
|
|||||||
for netname, m in tmp_wj:
|
for netname, m in tmp_wj:
|
||||||
if netname == irc.network:
|
if netname == irc.network:
|
||||||
irc.sendMsg(m)
|
irc.sendMsg(m)
|
||||||
|
try:
|
||||||
self.waitingJoins.remove((netname, m,))
|
self.waitingJoins.remove((netname, m,))
|
||||||
|
except ValueError:
|
||||||
|
pass # weird stuff happen sometimes
|
||||||
elif 'not yet authenticated' in s:
|
elif 'not yet authenticated' in s:
|
||||||
# zirc.org has this, it requires an auth code.
|
# zirc.org has this, it requires an auth code.
|
||||||
email = s.split()[-1]
|
email = s.split()[-1]
|
||||||
|
Loading…
Reference in New Issue
Block a user