From f9ff9e52cf4a438703a625bcc2fd2f796b5982eb Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Sat, 28 Jul 2012 18:46:38 +0100 Subject: Forgot to match case diff --git a/Swiftob/scripts/xep.lua b/Swiftob/scripts/xep.lua index 7d73c97..241690a 100644 --- a/Swiftob/scripts/xep.lua +++ b/Swiftob/scripts/xep.lua @@ -13,7 +13,7 @@ function parse_xeps(body) local abstract = xep_string:match("(.+)"):gsub("\n", "") xep = {number=number, name=name, type=xeptype, status=status, updated=updated, shortname=shortname, abstract=abstract} xeps_by_number[tonumber(number)] = xep - xeps_by_shortname[shortname] = xep + xeps_by_shortname[shortname:upper()] = xep end end @@ -40,7 +40,7 @@ function xep_command(command, params, message) if xep_number then xep = xeps_by_number[xep_number] else - xep = xeps_by_shortname[params] + xep = xeps_by_shortname[params:upper()] end local reply if xep then -- cgit v0.10.2-6-g49f6