mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +01:00
wrap* funcs: convert input args to a list, so that pop(0) always works
This commit is contained in:
parent
ba330bbfac
commit
d4b4cfb32e
@ -876,6 +876,7 @@ class Irc():
|
||||
|
||||
last_prefix = '+'
|
||||
orig_modes = modes.copy()
|
||||
modes = list(modes)
|
||||
while modes:
|
||||
# PyLink mode lists come in the form [('+t', None), ('-b', '*!*@someone'), ('+l', 3)]
|
||||
# The +/- part is optional depending on context, and should either:
|
||||
|
Loading…
Reference in New Issue
Block a user