Skip to content

Instantly share code, notes, and snippets.

@qoelet
Created August 2, 2010 01:29
Show Gist options
  • Save qoelet/503987 to your computer and use it in GitHub Desktop.
Save qoelet/503987 to your computer and use it in GitHub Desktop.
// set your configurations
var server = 'irc.freenode.net'
var channels = ['#kennyshen']
var nick = 'tocho-san'
var password = ''
var auth = false; // if no password, not registered, set to false.
var logmode = 'nstore' // nstore or text
var logfile = 'log.db'
// exports
exports.server = function() {
return server;
}
exports.channels = function() {
return channels;
}
exports.nick = function() {
return nick;
}
exports.password = function() {
return password
}
exports.auth = function() {
return auth
}
exports.logfile = function() {
return logfile
}
exports.logmode = function() {
return logmode;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment