From adc9a3c608ee742734086cf7251614e99441243d Mon Sep 17 00:00:00 2001 From: neersighted Date: Sun, 1 Apr 2012 20:57:00 -0700 Subject: [PATCH] Minor changes to return() layout --- plugins/ignore.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/ignore.py b/plugins/ignore.py index 194fe0a..c2476d7 100755 --- a/plugins/ignore.py +++ b/plugins/ignore.py @@ -58,7 +58,7 @@ def ignore(inp, input=None, notice=None): else: ignore_target(target) notice("%s has been ignored." % target) - + return @hook.command(adminonly=True) def unignore(inp, input=None, notice=None): @@ -68,8 +68,7 @@ def unignore(inp, input=None, notice=None): if is_ignored(target): unignore_target(target) notice("%s has been unignored." % target) - return else: notice("%s is not ignored." % target) - return + return