aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-04-29 15:13:06 -0400
committerdaurnimator <quae@daurnimator.com>2014-04-29 15:13:06 -0400
commit184b7839475c004c55eb6bda315a69ae3ccaee95 (patch)
tree950dca0b03dc5eab45c1a1c42591ee2640b624cd /plugins/muc/mod_muc.lua
parentc010a538d09eaa0a958590329f7fc7ae62e695a5 (diff)
downloadprosody-184b7839475c004c55eb6bda315a69ae3ccaee95.tar.gz
prosody-184b7839475c004c55eb6bda315a69ae3ccaee95.zip
plugins/muc: Move 'module:get_option_number("max_history_messages")' from mod_muc into history lib; remove from muclib exports
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index d7d3ac37..91b69829 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -33,8 +33,6 @@ local hosts = prosody.hosts;
rooms = {};
local rooms = rooms;
--- Configurable options
-muclib.set_max_history_length(module:get_option_number("max_history_messages"));
module:depends("disco");
module:add_identity("conference", "text", module:get_option_string("name", "Prosody Chatrooms"));