aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-27 21:25:08 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-27 21:25:08 +0000
commit6b359b43a027facebff7399720e2cbf9eac8da27 (patch)
tree2bed0e6c11b516524303506426d3836489425967 /net
parentaf47bf1b39e49fde30496dba37259ea49e148c1d (diff)
downloadprosody-0.2.0.tar.gz
prosody-0.2.0.zip
Small fix for logging in connlisteners (warning != warn)vault/0.2.00.2.0
Diffstat (limited to 'net')
-rw-r--r--net/connlisteners.lua2
1 files changed, 1 insertions, 1 deletions
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;