'current_badges' -> 'badges' (badges.py)
This commit is contained in:
parent
b5b0464873
commit
2794d7235b
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
:permission: clearbadges
|
:permission: clearbadges
|
||||||
"""
|
"""
|
||||||
user = event["server"].get_user(event["args_split"][0])
|
user = event["server"].get_user(event["args_split"][0])
|
||||||
current_badges = self._get_badges(user)
|
badges = self._get_badges(user)
|
||||||
if badges:
|
if badges:
|
||||||
self._del_badges(user)
|
self._del_badges(user)
|
||||||
event["stdout"].write("Cleared badges for %s" % user.nickname)
|
event["stdout"].write("Cleared badges for %s" % user.nickname)
|
||||||
|
|
Loading…
Reference in a new issue