File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -703,9 +703,13 @@ function clientReconnect(socket) {
703
703
if ( DEBUG )
704
704
console . log ( ":" + connection . nick + " MODE " + connection . nick + " :+" + connection . umode )
705
705
if ( connection . buffers [ socket . clientbuffer ] && connection . buffers [ socket . clientbuffer ] . data && connection . buffers [ socket . clientbuffer ] . data . length > 0 ) {
706
+ socket . write ( ":*jbnc PRIVMSG " + connection . nick + " :Retrieving all messages\n" ) ;
706
707
socket . write ( connection . buffers [ socket . clientbuffer ] . data + "\n" ) ;
707
708
connection . buffers [ socket . clientbuffer ] . data = '' ;
709
+ socket . write ( ":*jbnc PRIVMSG " + connection . nick + " :End of retrieving all messages\n" ) ;
708
710
}
711
+ else
712
+ socket . write ( ":*jbnc PRIVMSG " + connection . nick + " :There is no new message\n" ) ;
709
713
}
710
714
}
711
715
You can’t perform that action at this time.
0 commit comments