aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-05-15 06:28:02 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-05-15 06:28:02 +0500
commit5876adcc5e0d8700730ac6115fd30868836d6320 (patch)
treea8460fb66998578f2edafe96cfb0ddf4445704ff
parentcfc9bf6a35007ef2a62e2a668b8c659fd2b24992 (diff)
downloadprosody-5876adcc5e0d8700730ac6115fd30868836d6320.tar.gz
prosody-5876adcc5e0d8700730ac6115fd30868836d6320.zip
mod_presence: return true from the presence handler
-rw-r--r--plugins/mod_presence.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua
index 2fb976b5..415e5313 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -268,6 +268,7 @@ local function presence_handler(data)
core_route_stanza(origin, stanza);
end
end
+ return true;
end
local add_handler = require "core.eventmanager2".add_handler;