Skip to content

Commit 39f7d05

Browse files
committed
Send all info on unknown command
1 parent a3cebe5 commit 39f7d05

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)