Permalink
Browse files

Fixed action function

  • Loading branch information...
1 parent dc6e613 commit 942534cb5a548ea5776a75001020fdccb364c7fa @Ricket Ricket committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
@@ -184,7 +184,7 @@ var irc = global.nodebot = (function(){
},
action: function(channel, action) {
if(!channel || !action) return;
- irc.privmsg(channel, '\x01ACTION '+action+'\x01');
+ send("PRIVMSG "+sanitize(channel)+" :\x01ACTION "+sanitize(action)+"\x01");
},
/* ADDITIONAL GLOBAL IRC FUNCTIONALITY */

0 comments on commit 942534c

Please sign in to comment.