Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 2458:b4628c4d9ee2
mod_muc: Remove unused history_length declaration
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 Jan 2010 00:05:07 +0000 |
parent | 2033:38d32c154cec |
child | 2925:692b3c6c5bd2 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Wed Jan 13 00:04:38 2010 +0000 +++ b/plugins/muc/mod_muc.lua Wed Jan 13 00:05:07 2010 +0000 @@ -16,7 +16,6 @@ if type(muc_name) ~= "string" then muc_name = "Prosody Chatrooms"; end local restrict_room_creation = module:get_option("restrict_room_creation"); if restrict_room_creation and restrict_room_creation ~= true then restrict_room_creation = nil; end -local history_length = 20; local muc_new_room = module:require "muc".new_room; local register_component = require "core.componentmanager".register_component;