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:
parent
ce81dbb956
commit
3169312230
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user