Use __name__ as module name

This commit is contained in:
moneromooo 2015-01-01 10:12:03 +00:00
parent a59e883626
commit e4b403cc31
3 changed files with 7 additions and 7 deletions

View file

@ -243,7 +243,7 @@ def RainActive(nick,chan,cmd):
RegisterCommand({
'module': 'tipping',
'module': __name__,
'name': 'tip',
'parms': '<nick> <amount>',
'function': Tip,
@ -251,7 +251,7 @@ RegisterCommand({
'help': "tip another user"
})
RegisterCommand({
'module': 'tipping',
'module': __name__,
'name': 'rain',
'parms': '<amount> [<users>]',
'function': Rain,
@ -259,7 +259,7 @@ RegisterCommand({
'help': "rain some coins on everyone (or just a few)"
})
RegisterCommand({
'module': 'tipping',
'module': __name__,
'name': 'rainactive',
'parms': '<amount> [<hours>]',
'function': RainActive,