Pass all unknown commands through to the IRC server, closes #56
This commit is contained in:
parent
b002eef285
commit
3d2e443108
3 changed files with 41 additions and 44 deletions
|
@ -187,9 +187,6 @@ export default createCommandMiddleware(COMMAND, {
|
|||
},
|
||||
|
||||
[notFoundHandler](ctx, command, ...params) {
|
||||
if (command === command.toUpperCase()) {
|
||||
return this.raw(ctx, command, ...params);
|
||||
}
|
||||
return error(`=> /${command}: No such command`);
|
||||
return this.raw(ctx, command, ...params);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue