changeset 1315:e8eebf281405

mod_mam_muc: Remove code that should have been removed in previous commit
author Kim Alvefur <zash@zash.se>
date Thu, 20 Feb 2014 20:40:38 +0100
parents cc9831033f5d
children d3e75f6dde9b
files mod_mam_muc/mod_mam_muc.lua
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua	Thu Feb 20 20:37:26 2014 +0100
+++ b/mod_mam_muc/mod_mam_muc.lua	Thu Feb 20 20:40:38 2014 +0100
@@ -111,13 +111,6 @@
 	end);
 end
 
-local _send_history = room_mt.send_history;
-local _save_to_history = room_mt.save_to_history;
-function module.unload()
-	room_mt.send_history = _send_history;
-	room_mt.save_to_history = _save_to_history;
-end
-
 -- Handle archive queries
 module:hook("iq-get/bare/"..xmlns_mam..":query", function(event)
 	local origin, stanza = event.origin, event.stanza;