Changeset

1329:599a058d3961

mod_message: Require stanza lib to prevent traceback on error replies
author Matthew Wild <mwild1@gmail.com>
date Sun, 07 Jun 2009 17:44:48 +0100
parents 1328:0709c9564b1c
children 1330:baad431dabc5
files plugins/mod_message.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_message.lua	Sun Jun 07 14:19:36 2009 +0100
+++ b/plugins/mod_message.lua	Sun Jun 07 17:44:48 2009 +0100
@@ -2,6 +2,7 @@
 local full_sessions = full_sessions;
 local bare_sessions = bare_sessions;
 
+local st = require "util.stanza";
 local jid_bare = require "util.jid".bare;
 local jid_split = require "util.jid".split;
 local user_exists = require "core.usermanager".user_exists;