Remove event bindings from commands.js
authorJack Allnutt <m2ys4u@gmail.com>
Mon, 3 Jun 2013 14:41:29 +0000 (15:41 +0100)
committerJack Allnutt <m2ys4u@gmail.com>
Mon, 3 Jun 2013 14:41:29 +0000 (15:41 +0100)
commit3ec786bce5dd945e983afd7e7440f5eac7294042
tree4a8fd78761f54baa389f0ca4e0bbb2a9f0e3de1f
parent3513bdc176b99ec176e134c91e58eae6cf4d1b84
Remove event bindings from commands.js

server/irc/connection.js's parse() function now calls the dispatch() method
on the connection's IrcCommands object rather than firing an event.

Can now also programatically add IRC command handlers and numerics to the
ones already supplied in server/irc/commands.js

Cleaned up whitespacing in several files
server/client.js
server/irc/commands.js
server/irc/connection.js
server/irc/state.js