Changeset

823:e0197798f5f3

Automated merge with http://waqas.ath.cx:8000/
author Matthew Wild <mwild1@gmail.com>
date Thu, 19 Feb 2009 13:13:54 +0000
parents 822:a82eadc415ff (diff) 821:606fb325d788 (current diff)
children 825:6d619c43e613
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_muc.lua	Wed Feb 18 21:02:41 2009 +0000
+++ b/plugins/mod_muc.lua	Thu Feb 19 13:13:54 2009 +0000
@@ -226,7 +226,7 @@
 	local room = jid_bare(to);
 	local current_nick = jid_nick:get(from, room);
 	local type = stanza.attr.type;
-	log("debug", "room: %s, current_nick: %s, stanza: %s", room, current_nick, stanza:top_tag());
+	log("debug", "room: %s, current_nick: %s, stanza: %s", room or "nil", current_nick or "nil", stanza:top_tag());
 	if stanza.name == "presence" then
 		local pr = get_filtered_presence(stanza);
 		pr.attr.from = to;