1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2025-02-16 15:00:14 -05:00

Delay 1 sec before auto joining channels (issue 12)

This commit is contained in:
Sebastian Kaspari 2010-06-26 20:15:09 +02:00
parent ce81dbb956
commit 3169312230

View File

@ -160,6 +160,13 @@ public class IRCConnection extends PircBot
parser.parse(command, server, server.getConversation(ServerInfo.DEFAULT_NAME), service);
}
// delay 1 sec before auto joining channels
try {
Thread.sleep(1000);
} catch(InterruptedException e) {
// do nothing
}
// join channels
if (autojoinChannels != null) {
for (String channel : autojoinChannels) {