libs/web: eliminate another uneeded require in dispatcher
[project/luci.git] / libs / web / luasrc / dispatcher.lua
index 5fdd0a6383fdca06d1c076e264ace27e9002be82..89fa52ee1e4705db906fd66784326a1cc98c4b26 100644 (file)
@@ -229,7 +229,7 @@ function dispatch(request)
        ctx.path = preq
 
        if track.i18n then
-               require("luci.i18n").loadc(track.i18n)
+               i18n.loadc(track.i18n)
        end
 
        -- Init template engine