changeset 8818:552dd5d5641e

[gaim-migrate @ 9580] The plugin registration here was bogus. Now if only I could find the rest of the HOWTO file... committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Mon, 26 Apr 2004 16:24:16 +0000
parents 48c6552be372
children d7ed3a4bdf35
files plugins/tcl/TCL-HOWTO
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/tcl/TCL-HOWTO	Mon Apr 26 16:19:12 2004 +0000
+++ b/plugins/tcl/TCL-HOWTO	Mon Apr 26 16:24:16 2004 +0000
@@ -304,7 +304,7 @@
 which notifies the user of an incoming IM containing the word 'shizzle'
 might look like this:
 
-gaim::add_event_handler received-im-msg {
+gaim::signal connect [gaim::conversation handle] received-im-msg {
 	if {[ string match "*shizzle*" $event::buffer ]} {
 		gaim::notify -info "tcl plugin" "Fo' shizzle" \
 			"$event::sender is down with the shizzle"