summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java')
-rw-r--r--EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java b/EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java
index ff49bc931..584cf3f21 100644
--- a/EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java
+++ b/EssentialsXMPP/src/net/ess3/xmpp/XMPPManager.java
@@ -90,7 +90,7 @@ public final class XMPPManager extends Handler implements MessageListener, ChatM
break;
default:
final IUser sender = parent.getUserByAddress(StringUtils.parseBareAddress(chat.getParticipant()));
- parent.broadcastMessage(sender, "=" + sender.getDisplayName() + ": " + message, StringUtils.parseBareAddress(chat.getParticipant()));
+ parent.broadcastMessage(sender, "=" + sender.getName() + ": " + message, StringUtils.parseBareAddress(chat.getParticipant()));
}
}
}