mod_muc: Remove unused history_length declaration

Wed, 13 Jan 2010 00:05:07 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 13 Jan 2010 00:05:07 +0000
changeset 2458
b4628c4d9ee2
parent 2457
102c81e37878
child 2459
66f60e69567b

mod_muc: Remove unused history_length declaration

plugins/muc/mod_muc.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial