From 114c67799d108811c5a4b0ea42ea570e9ba357ed Mon Sep 17 00:00:00 2001 From: moneromooo Date: Sat, 10 Jan 2015 20:34:31 +0000 Subject: [PATCH] withdraw: fix error being sent to wrong variable --- tipbot/modules/withdraw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot/modules/withdraw.py b/tipbot/modules/withdraw.py index 8eb92f2..f85f4ae 100644 --- a/tipbot/modules/withdraw.py +++ b/tipbot/modules/withdraw.py @@ -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):