Skip to content
Snippets Groups Projects
Commit 668849df authored by cyan's avatar cyan
Browse files

Let's not pretend that we're still coding in BASIC, shall we?

parent 5a29db43
No related branches found
No related tags found
No related merge requests found
......@@ -915,7 +915,7 @@ function ircout(str) {
}
function Queue_Add(str) {
this.bytes = this.bytes + str.length;
this.bytes += str.length;
this.queue.push(str);
}
......@@ -2748,7 +2748,7 @@ function IRCClient_check_timeout() {
function IRCClient_check_sendq() {
if (this.sendq.bytes && this.socket.send(this.sendq.queue[0] + "\r\n")) {
this.sendq.bytes = this.sendq.bytes - this.sendq.queue[0].length;
this.sendq.bytes -= this.sendq.queue[0].length;
this.sendq.queue.shift();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment