withdraw: catch lack of parameter for !resolve
This commit is contained in:
parent
4dd13feef6
commit
051a0d3d86
|
@ -237,6 +237,8 @@ def Withdraw(link,cmd):
|
|||
def Resolve(link,cmd):
|
||||
try:
|
||||
address=GetParam(cmd,1)
|
||||
if not address:
|
||||
raise RuntimeError("")
|
||||
except Exception,e:
|
||||
link.send('usage: !resolve <address>')
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue