Mercurial > psgxs
comparison modules/mod_adhoc.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 | 4c808bfe0658 |
children | 023f767662d3 |
comparison
equal
deleted
inserted
replaced
40:741110cdcfcf | 41:bc717575e66a |
---|---|
1 var config = require('../configuration'); | |
2 var storage = require('../storage'); | |
3 var forms = require('../forms'); | |
4 var errors = require('../errors'); | |
5 var makeError = errors.makeError; | |
6 var toBareJID = require('../fdsq').toBareJID; | |
7 var NS = require('../namespaces'); | |
8 var xmpp = require('xmpp'); | |
9 | |
10 // XEP-0050: Ad-Hoc Commands | 1 // XEP-0050: Ad-Hoc Commands |
11 exports.adHoc = { | 2 exports.adHoc = { |
12 type: 'set', | 3 type: 'set', |
13 child: 'command', | 4 child: 'command', |
14 ns: NS.COMMANDS, | 5 ns: NS.COMMANDS, |