Skip to content

Commit 89e4658

Browse files
author
root
committed
Update
1 parent 486dafe commit 89e4658

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bouncer.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,10 @@ function clientReconnect(socket) {
611611

612612
socket.write("@time=null;msgid=null :"+connection.nick+"!"+connection.ircuser+"@"+connection.host+" JOIN :"+_channel.name+"\n");
613613
_mode_params='';
614+
615+
if ( typeof _channel.modes === 'undefined' )
616+
_channel.modes = "";
617+
614618
for(x=0;x<_channel.modes.length;x++) {
615619
switch(_channel.modes[x]) {
616620
case 'k': _mode_params+=' '+_channel.key;

0 commit comments

Comments
 (0)