diff --git a/plugins/ignore.py b/plugins/ignore.py index 710ae42..3e464bf 100755 --- a/plugins/ignore.py +++ b/plugins/ignore.py @@ -34,7 +34,7 @@ def ignored(inp, notice=None, bot=None): @hook.command(adminonly=True) def ignore(inp, notice=None, bot=None, config=None): ".ignore -- Makes the bot ignore ." - target = inp.lower() + target = inp ignorelist = bot.config["plugins"]["ignore"]["ignored"] if target in ignorelist: notice("%s is already ignored." % target) @@ -50,7 +50,7 @@ def ignore(inp, notice=None, bot=None, config=None): def unignore(inp, notice=None, bot=None, config=None): ".unignore -- Makes the bot listen to"\ " ." - target = inp.lower() + target = inp ignorelist = bot.config["plugins"]["ignore"]["ignored"] if target in ignorelist: notice("%s has been unignored." % target)