projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee89588
)
Removed non-printable chars from the source which effect CTCP ACTION
author
Darren
<darren@darrenwhitlen.com>
Mon, 5 Sep 2011 11:50:57 +0000
(12:50 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Mon, 5 Sep 2011 11:51:07 +0000
(12:51 +0100)
node/app.js
patch
|
blob
|
blame
|
history
diff --git
a/node/app.js
b/node/app.js
index 670e110e256f89132852e39429e245cd2155ca4d..6434022d3ccdd6dd0146d3f95a37820a60eac67d 100644
(file)
--- a/
node/app.js
+++ b/
node/app.js
@@
-692,7
+692,7
@@
this.websocketMessage = function (websocket, msg, callback) {
break;
case 'action':
if ((args.target) && (args.msg)) {
- websocket.sendServerLine('PRIVMSG ' + args.target + ' :
\ 1
' + String.fromCharCode(1) + 'ACTION ' + args.msg + String.fromCharCode(1)
);
+ websocket.sendServerLine('PRIVMSG ' + args.target + ' :
\001ACTION ' + args.msg + '\001'
);
}
break;
case 'raw':