summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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