# HG changeset patch # User Kim Alvefur # Date 1299531182 -3600 # Node ID e0664081654c754d92717221950d52b97f558eb8 # Parent 751a69610eaa567120d570d59f3966e51c4278db plugins.presence: Fix priority setting. (Thanks Florob) diff -r 751a69610eaa -r e0664081654c plugins/presence.lua --- 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();