diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-12 17:27:53 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-12 17:27:53 +0000 |
commit | fee6a443f9fd43ea4bbbb6f0e52cd39ec1974189 (patch) | |
tree | 3c1fd2632aacd0e202a98ae377acf20b7dff3cc5 /core/sessionmanager.lua | |
parent | a76e149c1ccbaa797e59754a39382d375a6a5070 (diff) | |
download | prosody-fee6a443f9fd43ea4bbbb6f0e52cd39ec1974189.tar.gz prosody-fee6a443f9fd43ea4bbbb6f0e52cd39ec1974189.zip |
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 1d16b850..29adcfbb 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -66,7 +66,7 @@ function new_session(conn) return session; end -local function null_data_handler(data) log("debug", "Discarding data from destroyed c2s session: %s", data); end +local function null_data_handler(conn, data) log("debug", "Discarding data from destroyed c2s session: %s", data); end function destroy_session(session, err) (session.log or log)("info", "Destroying session for %s (%s@%s)", session.full_jid or "(unknown)", session.username or "(unknown)", session.host or "(unknown)"); |