Delete 'ignore' setting when unignoring so it doesn't hold space in the database
but still defaults to false
This commit is contained in:
parent
bac9692ec5
commit
f8e933d4cc
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if not user.get_setting("ignore", False):
|
||||
event["stderr"].write("I'm not ignoring '%s'" % user.nickname)
|
||||
else:
|
||||
user.set_setting("ignore", False)
|
||||
user.del_setting("ignore")
|
||||
event["stdout"].write("Removed ignore for '%s'" % user.nickname)
|
||||
|
||||
@utils.hook("send.stdout")
|
||||
|
|
Loading…
Reference in a new issue