diff contrib/xchat-audacious.py @ 2849:97dc42683fc6 trunk

Fix some bugs.
author William Pitcock <nenolod@atheme.org>
date Tue, 19 Jun 2007 16:07:25 -0500
parents 7b4b8e135cb9
children b1390d9f35bf
line wrap: on
line diff
--- a/contrib/xchat-audacious.py	Tue Jun 19 15:36:44 2007 -0500
+++ b/contrib/xchat-audacious.py	Tue Jun 19 16:07:25 2007 -0500
@@ -92,6 +92,7 @@
 	global ignore_services
 
 	ignore_services = 0
+	return 1
 
 def presence_notification_dispatch(userdata=None):
 	global ignore_services
@@ -110,6 +111,8 @@
 
 			ctx.command("nickserv set qproperty np %s" % (title))
 
+	return 1
+
 presence_notification_dispatch()
 xchat.hook_timer(60000, presence_notification_dispatch)
 xchat.hook_timer(1000, unset_ignore_services)