Clean up SoneTemplatePage’s constructors
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / OptionsPage.kt
index 7cf1bb3..5205457 100644 (file)
@@ -15,7 +15,7 @@ import net.pterodactylus.util.template.TemplateContext
  * This page lets the user edit the options of the Sone plugin.
  */
 class OptionsPage(template: Template, webInterface: WebInterface):
-               SoneTemplatePage("options.html", template, "Page.Options.Title", webInterface, false) {
+               SoneTemplatePage("options.html", webInterface, template, "Page.Options.Title") {
 
        override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
                if (freenetRequest.isPOST) {