Changeset

1211:d60e68855176

mod_presence: Lower some log levels to their correct values
author Matthew Wild <mwild1@gmail.com>
date Thu, 28 May 2009 02:59:47 +0100
parents 1210:342f401f354c
children 1212:3be23cf5a659
files plugins/mod_presence.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Thu May 28 02:56:13 2009 +0100
+++ b/plugins/mod_presence.lua	Thu May 28 02:59:47 2009 +0100
@@ -132,7 +132,7 @@
 		end
 		stanza.attr.to = nil; -- reset it
 	else
-		log("error", "presence recieved from client with no roster");
+		log("warn", "presence recieved from client with no roster");
 	end
 end
 
@@ -153,7 +153,7 @@
 			end
 		end
 	end
-	log("info", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..jid);
+	log("debug", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..jid);
 	return count;
 end