2,875
edits
No edit summary |
No edit summary |
||
Line 110: | Line 110: | ||
local args = frame.args ~= nil and frame.args or frame | local args = frame.args ~= nil and frame.args or frame | ||
local spellName = args[1] | local spellName = args[1] | ||
local namespace = args.namespace or nil | local namespace = (args.namespace ~= "" and args.namespace) or nil | ||
local spell = p.getSpell(spellName, nil, namespace) | local spell = p.getSpell(spellName, nil, namespace) | ||
if spell == nil then | if spell == nil then |
edits