summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-09-07 22:34:53 +0200
committersnowleo <schneeleo@gmail.com>2011-09-07 22:34:53 +0200
commita518cb4be21f1de0874b8a08a16cc61b07fd12d5 (patch)
treefe8491d77dd776b06fa7617f901cdd8cb724e1b0 /Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
parentdec8a1a41f7d39bffbbc4b2402e65b3c548d0a2b (diff)
downloadEssentials-a518cb4be21f1de0874b8a08a16cc61b07fd12d5.tar
Essentials-a518cb4be21f1de0874b8a08a16cc61b07fd12d5.tar.gz
Essentials-a518cb4be21f1de0874b8a08a16cc61b07fd12d5.tar.lz
Essentials-a518cb4be21f1de0874b8a08a16cc61b07fd12d5.tar.xz
Essentials-a518cb4be21f1de0874b8a08a16cc61b07fd12d5.zip
Updates for banning
Removing the ban workaround We might remove the ban commands completely.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbanip.java')
-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 77c268988..3301afc87 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
@@ -20,7 +20,7 @@ public class Commandbanip extends EssentialsCommand
throw new NotEnoughArgumentsException();
}
- ess.getBans().banByIp(args[0]);
+ ess.getServer().banIP(args[0]);
sender.sendMessage(Util.i18n("banIpAddress"));
}
}