From e60865d4a4270a69cd26629f063cb15bf7a477fd Mon Sep 17 00:00:00 2001 From: topkecleon Date: Mon, 6 Jun 2016 23:45:11 -0400 Subject: [PATCH] fix capitalization problems --- plugins/chatter.lua | 2 +- plugins/shout.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/chatter.lua b/plugins/chatter.lua index 45efd61..53a41fe 100755 --- a/plugins/chatter.lua +++ b/plugins/chatter.lua @@ -33,7 +33,7 @@ function chatter:action(msg, config) --Uncomment the following line for Al Gore-like conversation. --or (msg.reply_to_message and msg.reply_to_message.from.id == self.info.id) ) - or msg.text:match('^'..config.CMD_PAT) + or msg.text:match('^'..config.cmd_pat) or msg.text == '' ) then return true diff --git a/plugins/shout.lua b/plugins/shout.lua index 9ba7180..77d1a9b 100644 --- a/plugins/shout.lua +++ b/plugins/shout.lua @@ -7,7 +7,7 @@ shout.command = 'shout ' function shout:init(config) shout.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('shout', true).table shout.doc = [[``` -]]..config.CMD_PAT..[[shout +]]..config.cmd_pat..[[shout Shouts something. Input may be the replied-to message. ```]] end