summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP
diff options
context:
space:
mode:
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)