From 9dca4d2345202ab4b8f91a304cf59f9aad5b91e4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 17 Jan 2012 21:10:16 +0000 Subject: prosodyctl: Adjust description of 'reload' command (thanks crocket) --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index 9f8724d2..f0ba68ce 100755 --- a/prosodyctl +++ b/prosodyctl @@ -540,7 +540,7 @@ end function commands.reload(arg) if arg[1] == "--help" then - show_usage([[reload]], [[Reload prosody configuration file]]); + show_usage([[reload]], [[Reload Prosody's configuration and re-open log files]]); return 1; end -- cgit v1.2.3 From b6555037e93ebaafbdc278e52016698a45769fe7 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 12 Dec 2011 14:53:12 +0500 Subject: mod_watchregistrations: Fixed an undefined global access (thanks Medics). --- plugins/mod_watchregistrations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_watchregistrations.lua b/plugins/mod_watchregistrations.lua index ee51566b..42f9c017 100644 --- a/plugins/mod_watchregistrations.lua +++ b/plugins/mod_watchregistrations.lua @@ -18,7 +18,7 @@ module:hook("user-registered", function (user) module:log("debug", "Notifying of new registration"); local message = st.message{ type = "chat", from = host } :tag("body") - :text(registration_alert:gsub("%$(%w+)", function (v) + :text(registration_notification:gsub("%$(%w+)", function (v) return user[v] or user.session and user.session[v] or nil; end)); for _, jid in ipairs(registration_watchers) do -- cgit v1.2.3