plugins/presence.lua

changeset 191
e0664081654c
parent 177
0ffb565fcfd6
child 197
7e98cf2c1d8d
--- a/plugins/presence.lua	Tue Feb 22 23:54:35 2011 +0000
+++ b/plugins/presence.lua	Mon Mar 07 21:53:02 2011 +0100
@@ -24,7 +24,7 @@
 				p:tag("show"):text(opts.show):up();
 			end
 			if opts.prio then
-				p:tag("priority"):text(opts.priority):up();
+				p:tag("priority"):text(tostring(opts.prio)):up();
 			end
 			if opts.msg then
 				p:tag("status"):text(opts.msg):up();

mercurial