summaryrefslogtreecommitdiff
path: root/doc/de/weechat_scripting.de.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-03-24 19:56:43 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-03-24 19:56:43 +0100
commitff26a8d550858822904aff412784ae62132435d3 (patch)
tree344e827cf5bebbbad1dd6103b88df682ca69511b /doc/de/weechat_scripting.de.txt
parentfad848bf7caff763ace7a8b88f06307feca77bac (diff)
downloadweechat-ff26a8d550858822904aff412784ae62132435d3.zip
Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7caff763ace7a8b88f06307feca77bac.
Diffstat (limited to 'doc/de/weechat_scripting.de.txt')
-rw-r--r--doc/de/weechat_scripting.de.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/de/weechat_scripting.de.txt b/doc/de/weechat_scripting.de.txt
index 5cb53362c..155c7793a 100644
--- a/doc/de/weechat_scripting.de.txt
+++ b/doc/de/weechat_scripting.de.txt
@@ -71,9 +71,6 @@ Lua
^^^
* Funktionen werden im Format `weechat.xxx(arg1, arg2, ...)` ausgeführt
-// TRANSLATION MISSING
-* Constants in API are in fact functions, the returned value must be used as
- constant (not the function itself).
Tcl
^^^
@@ -334,7 +331,7 @@ Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
function timer_cb(data, remaining_calls)
weechat.print("", "timer! data="..data)
- return weechat.WEECHAT_RC_OK()
+ return weechat.WEECHAT_RC_OK
end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")