Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Update IRC away status correctly in /irc list command when user returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Jun 21, 2015
1 parent fb8b9ce commit 947fe66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>com.cnaude.pircbotx</groupId>
<artifactId>pircbotx</artifactId>
<version>2.1.4</version>
<version>2.1.5</version>
</dependency>

<!-- Needed for PircBotX -->
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cnaude/purpleirc/PurpleBot.java
Expand Up @@ -2107,7 +2107,7 @@ public void sendUserList(CommandSender sender, Channel channel) {
String n = user.getNick();
n = getNickPrefix(user, channel) + n;
if (user.isAway()) {
n = n + ChatColor.GRAY + " | Away";
n = n + ChatColor.GRAY + " | Away | " + user.getAwayMessage();
}
if (n.equals(bot.getNick())) {
n = ChatColor.DARK_PURPLE + n;
Expand Down

0 comments on commit 947fe66

Please sign in to comment.