mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-27 05:21:09 -05:00
s/masks == []/not masks/
This commit is contained in:
parent
3018982d5a
commit
d63720f2ed
@ -1289,7 +1289,7 @@ class Banmask(registry.SpaceSeparatedSetOfStrings):
|
|||||||
|
|
||||||
if (bnick, buser, bhost) == ('*', '*', '*') and \
|
if (bnick, buser, bhost) == ('*', '*', '*') and \
|
||||||
ircutils.isUserHostmask(hostmask) and \
|
ircutils.isUserHostmask(hostmask) and \
|
||||||
masks == []:
|
not masks:
|
||||||
masks.append(hostmask)
|
masks.append(hostmask)
|
||||||
|
|
||||||
return masks
|
return masks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user