
; does not crash.
; load this plugin, then send a message in irc channel.
; weechat error after typing message in irc channel.
;
;       10:41:12  weechat     | guile: stdout/stderr: ERROR: Wrong number of arguments to 
;                             | #<procedure print_cb (data modifier mod-data msg)>
;       10:41:12  weechat =!= | guile: function "print_cb" must return a valid value
;       10:41:12  weechat =!= | guile: error in function "print_cb"
;
(define (print_cb data modifier mod-data msg)
  (string-append "Weee! " msg))

(weechat:register "modifier-1" "boxofrox" "1.0" "" "Does not crash. Does not modify weechat_print." "" "")
(define hook-ptr
  (weechat:hook_modifier "weechat_print" "print_cb" ""))

