Added /quit, the server IRC client gets cleaned up properly when quitting, pulled command handling out into a separate file

This commit is contained in:
khlieng 2015-02-09 01:00:30 +01:00
parent d11aa3ff4e
commit 99ef788906
8 changed files with 83 additions and 49 deletions

View file

@ -7,7 +7,8 @@ var messageActions = Reflux.createActions([
'send',
'add',
'broadcast',
'inform'
'inform',
'command'
]);
messageActions.send.preEmit = function(message, to, server) {