irc fixies
This commit is contained in:
parent
3a0676d7c7
commit
17440e1805
1 changed files with 3 additions and 1 deletions
|
@ -187,7 +187,9 @@ public class IRCPlugin extends ListenerAdapter {
|
||||||
if (!bot.isConnected() || messageQueue.isEmpty()) return;
|
if (!bot.isConnected() || messageQueue.isEmpty()) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
for (Map.Entry<String, List<String>> entry : messageQueue.entrySet()) {
|
final Map<String, List<String>> clonedMap = new HashMap<>(messageQueue);
|
||||||
|
|
||||||
|
for (Map.Entry<String, List<String>> entry : clonedMap.entrySet()) {
|
||||||
final List<String> logs = entry.getValue();
|
final List<String> logs = entry.getValue();
|
||||||
|
|
||||||
if (logs.isEmpty()) continue;
|
if (logs.isEmpty()) continue;
|
||||||
|
|
Loading…
Reference in a new issue