diff modules/mod_publish.js @ 34:dcf1f09f8cee

Add message to publish module and various fixes.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 05 Nov 2010 15:31:13 +0100
parents 62cbb1c49bc5
children 6697f394301f
line wrap: on
line diff
--- a/modules/mod_publish.js
+++ b/modules/mod_publish.js
@@ -1,7 +1,9 @@
 var config = require('../configuration');
 var storage = require('../storage');
 var notifs = require('../notifs');
-var toBareJID = require('../util').toBareJID;
+var errors = require('../errors');
+var utils = require('../util');
+var toBareJID = utils.toBareJID;
 var NS = require('../namespaces');
 
 // SECTION 7.1: Publish an Item to a Node