mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Let python know that yes, these are globals...
This commit is contained in:
parent
eb1ffd6bb4
commit
d6db1c2a5d
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,7 @@ def Rain(nick,data):
|
||||||
return
|
return
|
||||||
|
|
||||||
def DisableWithdraw():
|
def DisableWithdraw():
|
||||||
|
global withdraw_disabled
|
||||||
log_warn('DisableWithdraw: disabled')
|
log_warn('DisableWithdraw: disabled')
|
||||||
withdraw_disabled = True
|
withdraw_disabled = True
|
||||||
|
|
||||||
|
@ -540,6 +541,7 @@ def GetTipbotBalance(nick,data):
|
||||||
SendTo(nick,"Tipbot balance: %s (%s pending)" % (AmountToString(unlocked_balance), AmountToString(pending)))
|
SendTo(nick,"Tipbot balance: %s (%s pending)" % (AmountToString(unlocked_balance), AmountToString(pending)))
|
||||||
|
|
||||||
def EnableWithdraw(nick,data):
|
def EnableWithdraw(nick,data):
|
||||||
|
global withdraw_disabled
|
||||||
log_info('EnableWithdraw: enabled by %s' % nick)
|
log_info('EnableWithdraw: enabled by %s' % nick)
|
||||||
withdraw_disabled = False
|
withdraw_disabled = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue