Fix sending unknown commands

This commit is contained in:
Pavel Djundik 2016-03-20 19:20:07 +02:00 committed by Maxime Poulin
parent 43f58a8075
commit 769bd16c8b

View File

@ -252,7 +252,7 @@ Client.prototype.input = function(data) {
if (cmd in inputs) {
inputs[cmd].apply(client, [target.network, target.chan, cmd, args]);
} else {
target.network.irc.write(text);
target.network.irc.raw(text);
}
};