# HG changeset patch # User Matthew Wild # Date 1244393088 -3600 # Node ID 599a058d396142488291255c565d34eb1e23fc2a # Parent 0709c9564b1c0daf99aaf3d10b1cf310db8aaca9 mod_message: Require stanza lib to prevent traceback on error replies diff -r 0709c9564b1c -r 599a058d3961 plugins/mod_message.lua --- 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;