Permalink
Browse files

Removed old send prototype

  • Loading branch information...
1 parent 33524a6 commit 69bc77bb0d6711057208453cbcc4c1db7af6c3df @sent1nel committed Jun 25, 2012
Showing with 0 additions and 20 deletions.
  1. +0 −20 index.js
View
@@ -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;

0 comments on commit 69bc77b

Please sign in to comment.