From 45c0b3ce955c18f8562bc115acc61b500ca87e9b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 21 May 2022 14:20:43 +0100 Subject: Fix call to useUrl for webpage --- scripts/toy/misc.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/toy/misc.groovy b/scripts/toy/misc.groovy index 6696f56..40c902e 100644 --- a/scripts/toy/misc.groovy +++ b/scripts/toy/misc.groovy @@ -7,7 +7,7 @@ }; toy.addNamedEvent(toy.PERMIT, { name, arg, schedTime, rt -> toy.givePermission(arg) }); - toy.addRequestable("faq", "FAQ (webpage)", { useUrl("http://toy.randomdan.homeip.net/"); }); + toy.addRequestable("faq", "FAQ (webpage)", { toy.useUrl("http://toy.randomdan.homeip.net/"); }); toy.addActivity("intNothing", { toy.intNothing() }, [[toy.TITS]], [toy.INT]); return null; } -- cgit v1.2.3