Skip to content

Commit 247b277

Browse files
authored
Merge pull request #95 from graulund/graulund/send-all-info-on-unknown-command
Send all info on unknown command
2 parents 0493eb8 + 39f7d05 commit 247b277

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/commands/handler.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ IrcCommandHandler.prototype.addHandler = function(command, handler) {
8383

8484

8585
IrcCommandHandler.prototype.emitUnknownCommand = function(command) {
86-
this.emit('unknown command', {
87-
command: command.command,
88-
params: command.params
89-
});
86+
this.emit('unknown command', command);
9087
};
9188

9289

0 commit comments

Comments
 (0)