mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 04:51:06 -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 \
|
||||
ircutils.isUserHostmask(hostmask) and \
|
||||
masks == []:
|
||||
not masks:
|
||||
masks.append(hostmask)
|
||||
|
||||
return masks
|
||||
|
Loading…
x
Reference in New Issue
Block a user