var util = require('util'),
events = require('events'),
- IRCConnection = require('./irc-connection.js').IRCConnection;
+ _ = require('underscore'),
+ IRCConnection = require('./irc-connection.js').IRCConnection,
IRCCommands = require('./irc-commands.js'),
ClientCommandset = require('./client-commands.js').ClientCommandset;
console.log('S<--', data);
console.log('Closing docket');
end.call(this, data + '\r\n', 'utf-8', callback);
-}
+};
var write = function (data, encoding, callback) {
this.socket.write(data, encoding, callback);
fs = require('fs'),
dns = require('dns'),
_ = require('underscore'),
- Client = require('./client.js').Client;
+ Client = require('./client.js').Client,
HTTPHandler = require('./http-handler.js').HTTPHandler;
var WebListener = function (config, transports) {