withdraw: fix error being sent to wrong variable

This commit is contained in:
moneromooo
2015-01-10 20:34:31 +00:00
parent 09b1ee2f07
commit 114c67799d
+1 -1
View File
@@ -58,7 +58,7 @@ def Withdraw(nick,chan,cmd):
try:
address=cmd[1]
except Exception,e:
SendTo(sendto, "Usage: withdraw address [amount]")
SendTo(nick, "Usage: withdraw address [amount]")
return
if not IsValidAddress(address):