Skip to content

Commit

Permalink
Changed send event to say
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuakfarrar committed Jun 23, 2012
1 parent 0983e22 commit 233bbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -21,7 +21,7 @@ function zIRCClient(stream, options) {

var self = this;

this.on("send", function (message) {
this.on("say", function (message) {
//this.send_command("PRIVMSG %s :%s", [ this.options.chan, message]);
this.send_command("PRIVMSG " + this.options.chan + " :" + message);
});
Expand Down

0 comments on commit 233bbd5

Please sign in to comment.