projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72aab20
)
remove `encoded_test` global var
author
Darren
<darren@darrenwhitlen.com>
Mon, 1 Jul 2013 20:53:01 +0000
(21:53 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Mon, 1 Jul 2013 20:53:01 +0000
(21:53 +0100)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 33e5f1ac41d1b9ed6ca6445f0290bd4e90c59d08..2c9ad82949dcb08ffb236f1cb886434b61f913f7 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-274,6
+274,8
@@
IrcConnection.prototype.disposeSocket = function () {
*/
IrcConnection.prototype.setEncoding = function (encoding) {
+ var encoded_test;
+
try {
encoded_test = iconv.encode("TEST", encoding);
//This test is done to check if this encoding also supports