From f8e933d4ccc1a81bb0e93e29ccf37ba5193eb94e Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 26 Apr 2019 07:57:20 +0100 Subject: Delete 'ignore' setting when unignoring so it doesn't hold space in the database but still defaults to false --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index c69f14d6..ee116534 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -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") -- cgit v1.3.1-10-gc9f91