Minor cleanup

This commit is contained in:
snowleo 2011-08-08 16:32:59 +02:00
parent fbd9ee9453
commit ca3369938d

View file

@ -127,9 +127,9 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP
ess.broadcastMessage(name, message); ess.broadcastMessage(name, message);
try try
{ {
for (String address : EssentialsXMPP.getInstance().getSpyUsers()) for (String address : getSpyUsers())
{ {
EssentialsXMPP.getInstance().sendMessage(address, message); sendMessage(address, message);
} }
} }
catch (Exception ex) catch (Exception ex)