Skip to content

Commit

Permalink
Removed old send prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuakfarrar committed Jun 25, 2012
1 parent 33524a6 commit 69bc77b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions index.js
Expand Up @@ -144,26 +144,6 @@ exports.createClient = function(port_arg, host_arg, options) {
return zirc_client;
};

/*
zIRCClient.prototype.send = function(message) {
message = message.trim();
if (message.match(/^\//)) {
switch (message.substring(1, message.indexOf(" "))) {
case "quit":
quitMessage = message.substring(message.indexOf(" ") + 1);
console.log(quitMessage);
this.send_command("QUIT :" + quitMessage);
break;
default:
console.log("That command doesn't exist", message.substring(1));
break;
}
return true;
}
this.send_command("PRIVMSG " + this.options.chan + " :" + message);
};
*/

function Message(prefix, command, message) {
this.prefix = prefix;
this.command = command;
Expand Down

0 comments on commit 69bc77b

Please sign in to comment.