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

Fixed a small bug in IRC_string involving an invalid variable, and made the

CVS revision the primary revision for irclib.js
parent 1ff79615
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
//
const IRCLIB_REVISION = "$Revision$".split(' ')[1];
const IRCLIB_VERSION = "irclib.js-0.1(" + IRCLIB_REVISION + ")";
const IRCLIB_VERSION = "irclib.js-" + IRCLIB_REVISION;
// Connect to a server as a client.
// hostname Hostname to connect to
......@@ -89,7 +89,7 @@ function IRC_string(str,arg) {
var cindex;
if (arg) {
for(sw_counter=0;sw_counter<startword;sw_counter++) {
for(sw_counter=0;sw_counter<arg;sw_counter++) {
str=str.slice(str.indexOf(" ")+1);
}
}
......
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