Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed action function

  • Loading branch information...
commit 942534cb5a548ea5776a75001020fdccb364c7fa 1 parent dc6e613
Richard Carter Ricket authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.js
2  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 */
Please sign in to comment.
Something went wrong with that request. Please try again.