diff options
| author | 2019-04-26 07:57:20 +0100 | |
|---|---|---|
| committer | 2019-04-26 07:57:20 +0100 | |
| commit | f8e933d4ccc1a81bb0e93e29ccf37ba5193eb94e (patch) | |
| tree | 5c44ef758045c0b1deae83b94d2894f45573012b /modules/commands/__init__.py | |
| parent | Change 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/__init__.py')
| -rw-r--r-- | modules/commands/__init__.py | 2 |
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") |
