},
- NICK: function (command) {
- var time;
-
- // Check if we have a server-time
- time = command.getServerTime();
-
- this.emit('user ' + command.nick + ' nick', {
- nick: command.nick,
- ident: command.ident,
- hostname: command.hostname,
- newnick: command.params[0],
- time: time
- });
- },
-
-
MODE: function (command) {
var modes = [], event, time;
var handlers = {
+ NICK: function (command) {
+ var time;
+
+ // Check if we have a server-time
+ time = command.getServerTime();
+
+ this.emit('user ' + command.nick + ' nick', {
+ nick: command.nick,
+ ident: command.ident,
+ hostname: command.hostname,
+ newnick: command.params[0],
+ time: time
+ });
+ },
+
+
AWAY: function (command) {
var time;