Delete 'ignore' setting when unignoring so it doesn't hold space in the database

but still defaults to false
This commit is contained in:
jesopo 2019-04-26 07:57:20 +01:00
parent bac9692ec5
commit f8e933d4cc

View file

@ -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")