diff modules/mod_publish_message.js @ 41:bc717575e66a

Much better handling of modules.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 20 Feb 2011 15:51:12 +0100
parents 6697f394301f
children 023f767662d3
line wrap: on
line diff
--- a/modules/mod_publish_message.js
+++ b/modules/mod_publish_message.js
@@ -1,13 +1,3 @@
-var config = require('../configuration');
-var storage = require('../storage');
-var notifs = require('../notifs');
-var errors = require('../errors');
-var makeError = errors.makeError;
-var fdsq = require('../fdsq');
-var toBareJID = fdsq.toBareJID;
-var NS = require('../namespaces');
-var xmpp = require('xmpp');
-
 exports.publishMessage = {
 	stanza: 'message',
 	child: 'body',