fix error on !join when ACCOUNTS_ONLY is set
This commit is contained in:
parent
9f4b1a243d
commit
2c5e108751
@ -1003,7 +1003,7 @@ def join(var, wrapper, message):
|
||||
if wrapper.private:
|
||||
return
|
||||
if var.ACCOUNTS_ONLY:
|
||||
if users._get(nick).account is None: # FIXME
|
||||
if wrapper.source.account is None:
|
||||
wrapper.pm(messages["not_logged_in"])
|
||||
return
|
||||
if evt.data["join_player"](var, wrapper) and message:
|
||||
|
Loading…
x
Reference in New Issue
Block a user