summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-07-28 17:46:38 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-07-28 17:46:38 (GMT)
commitf9ff9e52cf4a438703a625bcc2fd2f796b5982eb (patch)
treef89b1a8640f5a4ac77ce0d0f5b4ca258c616676c
parent94949a9a0bc637905447a0dd666958ea5f08e729 (diff)
downloadswift-contrib-f9ff9e52cf4a438703a625bcc2fd2f796b5982eb.zip
swift-contrib-f9ff9e52cf4a438703a625bcc2fd2f796b5982eb.tar.bz2
Forgot to match case
-rw-r--r--Swiftob/scripts/xep.lua4
1 files changed, 2 insertions, 2 deletions
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("<abstract>(.+)</abstract>"):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