aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/ConsoleInput.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/ConsoleInput.hx')
-rw-r--r--src/server/ConsoleInput.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ConsoleInput.hx b/src/server/ConsoleInput.hx
index cf88df6..e0712f5 100644
--- a/src/server/ConsoleInput.hx
+++ b/src/server/ConsoleInput.hx
@@ -107,7 +107,7 @@ class ConsoleInput {
case AddAdmin:
final name = args[0];
final password = args[1];
- if (main.badNickName(name)) {
+ if (main.isBadClientName(name)) {
final error = Lang.get("usernameError")
.replace("$MAX", '${main.config.maxLoginLength}');
trace(error);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage