Follow-up Comment #1, patch #6810 (project weechat):

This patch fixes the [ ] execution issue, but raises another problem. With
the patch applied, any message that has the { or } chars end with an error if
they are unbalanced.

Testing with the following tcl script:
weechat::register "err" "" "0.1" "GPL3" "descr" "" ""
weechat::hook_modifier "irc_in_privmsg" "ircIn"
proc ircIn {modifier server text} {return $text}



e.g. a simple channel message "te{st" shows an error in weechat buffer: tcl
unable to run function "ircIn": missing close-brace: possible unbalanced brace
in comment

Another message "te}st" shows the error:
tcl unable to run function "ircIn": extra characters after close-brace

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6810>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to