Permalink
Browse files

Changed send event to say

  • Loading branch information...
1 parent 0983e22 commit 233bbd56c0dcf138bce00b7ba956adc2364d1800 @sent1nel committed Jun 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -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);
});

0 comments on commit 233bbd5

Please sign in to comment.