fix-message-formatting
Danny van Heumen 12 years ago
parent 1178b51255
commit 1b86d1a294

@ -372,13 +372,13 @@ public List<String> getServerChatRoomList()
list));
this.irc.rawMessage("LIST");
LOGGER.trace("Start waiting for list ...");
// FIXME incorrect way of waiting (spurious wakeups)
list.wait();
LOGGER.trace("Done waiting for list.");
}
catch (InterruptedException e)
{
LOGGER.trace("INTERRUPTED while waiting for list.");
e.printStackTrace();
LOGGER.warn("INTERRUPTED while waiting for list.", e);
}
}
this.channellist.instance = list;
@ -1216,7 +1216,8 @@ private void processModeMessage(ChannelModeMessage msg)
}
catch (NumberFormatException e)
{
e.printStackTrace();
LOGGER.warn("server sent incorrect limit, "
+ "limit is not a number", e);
break;
}
}

Loading…
Cancel
Save