fix "help" globbing
This commit is contained in:
@@ -120,6 +120,9 @@ def command_help(args):
|
|||||||
if 'help' == word:
|
if 'help' == word:
|
||||||
flag = True
|
flag = True
|
||||||
|
|
||||||
|
if False == flag: # no match on 'help'
|
||||||
|
return None
|
||||||
|
|
||||||
if None == cmd:
|
if None == cmd:
|
||||||
return {
|
return {
|
||||||
'msg': args['reply_user'] + ': no command given'
|
'msg': args['reply_user'] + ': no command given'
|
||||||
|
|||||||
Reference in New Issue
Block a user