summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-03-11 10:33:59 +0000
committerKHobbits <rob@khobbits.co.uk>2013-03-11 10:33:59 +0000
commit895c14430a71e27e490bdd67125b6a0bcd8ca9f6 (patch)
treedc2611a5b3938a8053b2b34d1f14574e1e4407fa
parent664fe18bbe696e6cbd26b18c4f53068079f89960 (diff)
downloadEssentials-895c14430a71e27e490bdd67125b6a0bcd8ca9f6.tar
Essentials-895c14430a71e27e490bdd67125b6a0bcd8ca9f6.tar.gz
Essentials-895c14430a71e27e490bdd67125b6a0bcd8ca9f6.tar.lz
Essentials-895c14430a71e27e490bdd67125b6a0bcd8ca9f6.tar.xz
Essentials-895c14430a71e27e490bdd67125b6a0bcd8ca9f6.zip
Fixing ban ip broadcast notification.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbanip.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
index 5bebfa593..757f9cf8b 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
@@ -49,7 +49,7 @@ public class Commandbanip extends EssentialsCommand
final User onlineUser = ess.getUser(onlinePlayer);
if (onlinePlayer == sender || onlineUser.isAuthorized("essentials.ban.notify"))
{
- sender.sendMessage(_("playerBanIpAddress", senderName, ipAddress));
+ onlinePlayer.sendMessage(_("playerBanIpAddress", senderName, ipAddress));
}
}
}