'current_badges' -> 'badges' (badges.py)

This commit is contained in:
jesopo 2019-02-13 16:33:28 +00:00
parent b5b0464873
commit 2794d7235b

View file

@ -197,7 +197,7 @@ class Module(ModuleManager.BaseModule):
:permission: clearbadges
"""
user = event["server"].get_user(event["args_split"][0])
current_badges = self._get_badges(user)
badges = self._get_badges(user)
if badges:
self._del_badges(user)
event["stdout"].write("Cleared badges for %s" % user.nickname)