diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-07-28 17:46:38 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-07-28 17:46:38 (GMT) |
commit | f9ff9e52cf4a438703a625bcc2fd2f796b5982eb (patch) | |
tree | f89b1a8640f5a4ac77ce0d0f5b4ca258c616676c /Swiftob | |
parent | 94949a9a0bc637905447a0dd666958ea5f08e729 (diff) | |
download | swift-contrib-f9ff9e52cf4a438703a625bcc2fd2f796b5982eb.zip swift-contrib-f9ff9e52cf4a438703a625bcc2fd2f796b5982eb.tar.bz2 |
Forgot to match case
Diffstat (limited to 'Swiftob')
-rw-r--r-- | Swiftob/scripts/xep.lua | 4 |
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 |