summaryrefslogtreecommitdiff
path: root/src/char/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/config.c')
-rw-r--r--src/char/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char/config.c b/src/char/config.c
index 5eefbc1..cddc6b6 100644
--- a/src/char/config.c
+++ b/src/char/config.c
@@ -14,6 +14,7 @@
#include "char/config.h"
char *inter_server_ip = NULL;
+int max_char_class = 0;
void config_inter_server_ip(const char *val)
{
@@ -28,6 +29,11 @@ void config_inter_server_ip(const char *val)
inter_server_ip = aStrdup(buf);
}
+void config_max_char_class(const char *val)
+{
+ max_char_class = atoi(val);
+}
+
void config_final(void)
{
if (inter_server_ip)