We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 253e473 + 539636a commit 03a3c8aCopy full SHA for 03a3c8a
bouncer.js
@@ -652,7 +652,7 @@ function clientReconnect(socket) {
652
if(connection.channels.hasOwnProperty(key)) {
653
_channel=connection.channels[key];
654
655
- if (_channel.name != "undefined" || typeof _channel.name !== 'undefined') {
+ if (_channel && _channel.name) {
656
socket.write("@time="+new Date().toISOString()+";msgid=back :"+connection.nick+"!"+connection.ircuser+"@"+connection.host+" JOIN :"+_channel.name+"\n");
657
} else {
658
continue;
0 commit comments