*/
conf.default_encoding = 'utf8';
+
+/*
+* Default GECOS (real name) for IRC connections
+*/
+//conf.default_gecos = 'Web IRC Client';
+
+
/*
* Client side plugins
* Array of URLs that will be loaded into the browser when the client first loads up
connect_data = findWebIrc.call(this, connect_data);
global.modules.emit('irc authorize', connect_data).done(function ircAuthorizeCb() {
+ var gecos = '[www.kiwiirc.com] ' + that.nick;
+
// Send any initial data for webirc/etc
if (connect_data.prepend_data) {
_.each(connect_data.prepend_data, function(data) {
that.write('PASS ' + that.password);
that.write('NICK ' + that.nick);
- that.write('USER ' + that.username + ' 0 0 :' + '[www.kiwiirc.com] ' + that.nick);
+ that.write('USER ' + that.username + ' 0 0 :' + (global.config.default_gecos || gecos));
that.emit('connected');
});