changeset 2852:f5c37e128ae5 trunk

Fixes.
author William Pitcock <nenolod@atheme.org>
date Tue, 19 Jun 2007 20:09:35 -0500
parents 3b730938c9eb
children 7f1b2734af36 548a1db694e6
files contrib/xchat-audacious.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/xchat-audacious.py	Tue Jun 19 17:02:19 2007 -0500
+++ b/contrib/xchat-audacious.py	Tue Jun 19 20:09:35 2007 -0500
@@ -92,6 +92,7 @@
 	global ignore_services
 
 	ignore_services = 0
+	return 1
 
 last_title = None
 
@@ -113,12 +114,12 @@
 
 				ctx.command("nickserv set qproperty np %s" % (title))
 
-		last_title = title
+			last_title = title
 
-	xchat.hook_timer(2000, unset_ignore_services)
 	return 1
 
 presence_notification_dispatch()
 xchat.hook_timer(3000, presence_notification_dispatch)
+xchat.hook_timer(500, unset_ignore_services)
 
 print "xchat-audacious $Id: xchat-audacious.py 4574 2007-05-16 07:46:17Z deitarion $ loaded"