changeset 2851:3b730938c9eb trunk

Further improvements.
author William Pitcock <nenolod@atheme.org>
date Tue, 19 Jun 2007 17:02:19 -0500
parents b1390d9f35bf
children f5c37e128ae5
files contrib/xchat-audacious.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/xchat-audacious.py	Tue Jun 19 17:01:27 2007 -0500
+++ b/contrib/xchat-audacious.py	Tue Jun 19 17:02:19 2007 -0500
@@ -92,7 +92,6 @@
 	global ignore_services
 
 	ignore_services = 0
-	return 1
 
 last_title = None
 
@@ -116,10 +115,10 @@
 
 		last_title = title
 
+	xchat.hook_timer(2000, unset_ignore_services)
 	return 1
 
 presence_notification_dispatch()
-xchat.hook_timer(60000, presence_notification_dispatch)
-xchat.hook_timer(2000, unset_ignore_services)
+xchat.hook_timer(3000, presence_notification_dispatch)
 
 print "xchat-audacious $Id: xchat-audacious.py 4574 2007-05-16 07:46:17Z deitarion $ loaded"