summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-08-08 16:32:59 +0200
committersnowleo <schneeleo@gmail.com>2011-08-08 16:32:59 +0200
commitca3369938d07f5f8f82b48a37e2326d2a52458f8 (patch)
tree53e750594a56bcc80ad906ca8cba07e20c331bf0 /EssentialsXMPP
parentfbd9ee9453cdfec7367effba3cb2bc388e3ee88b (diff)
downloadEssentials-ca3369938d07f5f8f82b48a37e2326d2a52458f8.tar
Essentials-ca3369938d07f5f8f82b48a37e2326d2a52458f8.tar.gz
Essentials-ca3369938d07f5f8f82b48a37e2326d2a52458f8.tar.lz
Essentials-ca3369938d07f5f8f82b48a37e2326d2a52458f8.tar.xz
Essentials-ca3369938d07f5f8f82b48a37e2326d2a52458f8.zip
Minor cleanup
Diffstat (limited to 'EssentialsXMPP')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
index 57c692c8c..8ab62cd4d 100644
--- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
+++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java
@@ -127,9 +127,9 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
ess.broadcastMessage(name, message);
try
{
- for (String address : EssentialsXMPP.getInstance().getSpyUsers())
+ for (String address : getSpyUsers())
{
- EssentialsXMPP.getInstance().sendMessage(address, message);
+ sendMessage(address, message);
}
}
catch (Exception ex)