parent
cc5f92ecbf
commit
f62f3d6e68
2
stuff.py
2
stuff.py
|
@ -139,7 +139,7 @@ def stuff(bot, sock):
|
|||
line.tags["account"] in admin_accounts
|
||||
or line.source in admin_users
|
||||
)
|
||||
except KeyError:
|
||||
except (KeyError, TypeError): #either no account tag, or no tags at all
|
||||
is_adm = line.source in admin_users
|
||||
|
||||
# update command module's info dynamically for line info
|
||||
|
|
Loading…
Reference in New Issue