From ca3369938d07f5f8f82b48a37e2326d2a52458f8 Mon Sep 17 00:00:00 2001 From: snowleo Date: Mon, 8 Aug 2011 16:32:59 +0200 Subject: Minor cleanup --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EssentialsXMPP') 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) -- cgit v1.2.3