From 6b359b43a027facebff7399720e2cbf9eac8da27 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 27 Dec 2008 21:25:08 +0000 Subject: Small fix for logging in connlisteners (warning != warn) --- net/connlisteners.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/connlisteners.lua b/net/connlisteners.lua index b2435f44..336150be 100644 --- a/net/connlisteners.lua +++ b/net/connlisteners.lua @@ -32,7 +32,7 @@ local listeners = {}; 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; -- cgit v1.2.3