diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-27 21:25:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-27 21:25:08 +0000 |
commit | 6b359b43a027facebff7399720e2cbf9eac8da27 (patch) | |
tree | 2bed0e6c11b516524303506426d3836489425967 /net | |
parent | af47bf1b39e49fde30496dba37259ea49e148c1d (diff) | |
download | prosody-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.lua | 2 |
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; |