From 66b4807d5c27fa1ba40e6bab8debc7c777a7961b Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 19 Sep 2019 13:04:27 -0400 Subject: [PATCH] fix --- sopel_modules/SpiceBot/Prerun.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 52edcb8..8ea37cd 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -545,12 +545,12 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom): directionword = "remove" if not botcom.dict["dict"][botcom.dict["responsekey"]]["updates_enabled"]: botmessagelog.messagelog_error(botcom.dict["log_id"], "The " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list cannot be updated.") - return True + return False fulltext = spicemanip(botcom.dict['args'], 0) if not fulltext: - botmessagelog.messagelog(botcom.dict["log_id"], "What would you like to " + directionword + " from the " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list?") - return True + botmessagelog.messagelog_error(botcom.dict["log_id"], "What would you like to " + directionword + " from the " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list?") + return False elif botcom.dict["hyphen_arg"] in [ 'enable', 'disable',