Software /
code /
prosody
Diff
net/connlisteners.lua @ 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 |
parent | 658:1952fdcf1017 |
child | 721:51233a8ae3d4 |
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;