summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java
diff options
context:
space:
mode:
authorementalo <ementalodev@gmx.co.uk>2012-07-20 12:12:21 +0100
committerementalo <ementalodev@gmx.co.uk>2012-07-20 12:12:21 +0100
commit26e5b52c26298ec3624712c8a35240dac70bd411 (patch)
tree7b1ddc4d4f23895f30775364d9b7eb236ce77da2 /EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java
parentea1cce76f9276cf80efdf68238f1604f79c82e17 (diff)
downloadEssentials-26e5b52c26298ec3624712c8a35240dac70bd411.tar
Essentials-26e5b52c26298ec3624712c8a35240dac70bd411.tar.gz
Essentials-26e5b52c26298ec3624712c8a35240dac70bd411.tar.lz
Essentials-26e5b52c26298ec3624712c8a35240dac70bd411.tar.xz
Essentials-26e5b52c26298ec3624712c8a35240dac70bd411.zip
Some user matching updates
Diffstat (limited to 'EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java')
-rw-r--r--EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java b/EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java
index 74ab09fd5..f62f3c3f5 100644
--- a/EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java
+++ b/EssentialsXMPP/src/net/ess3/xmpp/EssentialsXMPP.java
@@ -92,7 +92,7 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
public IUser getUserByAddress(final String address)
{
String username = instance.users.getUserByAddress(address);
- return username == null ? null : ess.getUser(username);
+ return username == null ? null : ess.getUserMap().getUser(username);
}
@Override