Bugfix für Site-Header für nicht-Suoder

This commit is contained in:
Andreas Bielawski 2016-10-04 16:00:59 +02:00
parent 1e030da5dc
commit 864c0229ec

View File

@ -10,6 +10,7 @@ end
function site_header:action(msg, config, matches) function site_header:action(msg, config, matches)
if not is_sudo(msg, config) then if not is_sudo(msg, config) then
utilities.send_reply(msg, config.errors.sudo) utilities.send_reply(msg, config.errors.sudo)
return
end end
local url = matches[2] local url = matches[2]