From b1cce0188faf8d30c9884d40a15c794f524e4286 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 1 Apr 2016 15:56:12 +0200 Subject: storagemanager: Capitalize log message --- core/storagemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/storagemanager.lua b/core/storagemanager.lua index 680b65ad..8d83f677 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -196,7 +196,7 @@ end function datamanager.users(host, datastore, typ) local driver = open(host, datastore, typ); if not driver.users then - return function() log("warn", "storage driver %s does not support listing users", driver.name) end + return function() log("warn", "Storage driver %s does not support listing users", driver.name) end end return driver:users(); end -- cgit v1.2.3 From 5db607f37e4370d12d350c0894804331a0231d5e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 1 Apr 2016 18:56:26 +0200 Subject: mod_bosh: Skip sending stanzas removed out by filters (fixes #657) --- plugins/mod_bosh.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 840de725..032b20a8 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -279,6 +279,7 @@ function stream_callbacks.streamopened(context, attr) end s = filter("stanzas/out", s); --log("debug", "Sending BOSH data: %s", tostring(s)); + if not s then return true end t_insert(session.send_buffer, tostring(s)); local oldest_request = r[1]; -- cgit v1.2.3