Changeset

661:59c3f9a49969 0.2.0

Small fix for logging in connlisteners (warning != warn)
author Matthew Wild <mwild1@gmail.com>
date Sat, 27 Dec 2008 21:25:08 +0000
parents 660:b2c4a7ec31c6
children 662:bcf7d0707a97
files net/connlisteners.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/connlisteners.lua	Sat Dec 27 21:23:14 2008 +0000
+++ b/net/connlisteners.lua	Sat Dec 27 21:25:08 2008 +0000
@@ -32,7 +32,7 @@
 
 function register(name, listener)
 	if listeners[name] and listeners[name] ~= listener then
-		log("warning", "Listener %s is already registered, not registering any more", name);
+		log("warn", "Listener %s is already registered, not registering any more", name);
 		return false;
 	end
 	listeners[name] = listener;