1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2016-04-19 19:05:29 +02:00
parent 920f0a7fab
commit 58d3a904d6

View file

@ -350,7 +350,7 @@ while True:
else:
g.message(g.status())
p = g.findid(t['from']['id'])
if p.role == 1:
if p is not None and p.role == 1:
p.message(g.mifiastatus())
elif t['text'].startswith("/fullstatus"):
if t['from']['id'] == g.adminid: