From 20fbefbe18686a0e1daf1858819b4077038f6016 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 15 Apr 2007 02:19:49 +0300 Subject: [PATCH] lua_console_hook must return "goto_url", not "goto-url". --- doc/lua-scripting.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua-scripting.txt b/doc/lua-scripting.txt index 4208aac2..fc71b12b 100644 --- a/doc/lua-scripting.txt +++ b/doc/lua-scripting.txt @@ -173,7 +173,7 @@ lua_console_hook (string):: `someprogram`. - `return "eval", "somefunction(1+2)"` will attempt to call the Lua function `somefunction` with an argument, 3. - - `return "goto-url", "http://www.bogus.com"` will ask Links to visit + - `return "goto_url", "http://www.bogus.com"` will ask Links to visit the URL "http://www.bogus.com". - `return nil` will do nothing.