Mercurial > prosody-hg
diff plugins/muc/mod_muc.lua @ 6240:641756a6a5f7
plugins/muc: Move 'module:get_option_number("max_history_messages")' from mod_muc into history lib; remove from muclib exports
| author | daurnimator <quae@daurnimator.com> |
|---|---|
| date | Tue, 29 Apr 2014 15:13:06 -0400 |
| parents | a791dd781238 |
| children | 6b4ff34dc8ea |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Tue Apr 29 14:50:13 2014 -0400 +++ b/plugins/muc/mod_muc.lua Tue Apr 29 15:13:06 2014 -0400 @@ -33,8 +33,6 @@ 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"));
