aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorGravatar jesopo2019-04-26 07:57:20 +0100
committerGravatar jesopo2019-04-26 07:57:20 +0100
commitf8e933d4ccc1a81bb0e93e29ccf37ba5193eb94e (patch)
tree5c44ef758045c0b1deae83b94d2894f45573012b /modules/commands
parentChange channel_op's _name from "Channel Op" to "ChanOp" (diff)
signature
Delete 'ignore' setting when unignoring so it doesn't hold space in the database
but still defaults to false
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
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")