plugins.presence: Fix priority setting. (Thanks Florob)

Mon, 07 Mar 2011 21:53:02 +0100

author
Kim Alvefur <zash@zash.se>
date
Mon, 07 Mar 2011 21:53:02 +0100
changeset 191
e0664081654c
parent 190
751a69610eaa
child 192
d20feb8034f5

plugins.presence: Fix priority setting. (Thanks Florob)

plugins/presence.lua file | annotate | diff | comparison | revisions
--- 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