Changeset

191:e0664081654c

plugins.presence: Fix priority setting. (Thanks Florob)
author Kim Alvefur <zash@zash.se>
date Mon, 07 Mar 2011 21:53:02 +0100
parents 190:751a69610eaa
children 192:d20feb8034f5
files plugins/presence.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();