removed lowercase
This commit is contained in:
parent
a958266f99
commit
40944e6054
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ def ignored(inp, notice=None, bot=None):
|
||||||
@hook.command(adminonly=True)
|
@hook.command(adminonly=True)
|
||||||
def ignore(inp, notice=None, bot=None, config=None):
|
def ignore(inp, notice=None, bot=None, config=None):
|
||||||
".ignore <channel|nick|host> -- Makes the bot ignore <channel|nick|host>."
|
".ignore <channel|nick|host> -- Makes the bot ignore <channel|nick|host>."
|
||||||
target = inp.lower()
|
target = inp
|
||||||
ignorelist = bot.config["plugins"]["ignore"]["ignored"]
|
ignorelist = bot.config["plugins"]["ignore"]["ignored"]
|
||||||
if target in ignorelist:
|
if target in ignorelist:
|
||||||
notice("%s is already ignored." % target)
|
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):
|
def unignore(inp, notice=None, bot=None, config=None):
|
||||||
".unignore <channel|nick|host> -- Makes the bot listen to"\
|
".unignore <channel|nick|host> -- Makes the bot listen to"\
|
||||||
" <channel|nick|host>."
|
" <channel|nick|host>."
|
||||||
target = inp.lower()
|
target = inp
|
||||||
ignorelist = bot.config["plugins"]["ignore"]["ignored"]
|
ignorelist = bot.config["plugins"]["ignore"]["ignored"]
|
||||||
if target in ignorelist:
|
if target in ignorelist:
|
||||||
notice("%s has been unignored." % target)
|
notice("%s has been unignored." % target)
|
||||||
|
|
Reference in a new issue