1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +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: else:
g.message(g.status()) g.message(g.status())
p = g.findid(t['from']['id']) p = g.findid(t['from']['id'])
if p.role == 1: if p is not None and p.role == 1:
p.message(g.mifiastatus()) p.message(g.mifiastatus())
elif t['text'].startswith("/fullstatus"): elif t['text'].startswith("/fullstatus"):
if t['from']['id'] == g.adminid: if t['from']['id'] == g.adminid: