diff mod_pastebin/mod_pastebin.lua @ 25:ea59a8d98b03

mod_pastebin: Comment some debug logging on every message
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Oct 2009 22:16:19 +0100
parents 72bcc0475e2f
children 3c18c2d03bc2
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua	Fri Oct 02 22:15:14 2009 +0100
+++ b/mod_pastebin/mod_pastebin.lua	Fri Oct 02 22:16:19 2009 +0100
@@ -54,7 +54,7 @@
 	if not body then return; end
 	body = body:get_text();
 	
-	module:log("debug", "Body(%s) length: %d", type(body), #(body or ""));
+	--module:log("debug", "Body(%s) length: %d", type(body), #(body or ""));
 	
 	if body and #body > length_threshold then
 		local url = pastebin_message(body);