summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index a7ddea7e..1ba25a74 100644
--- a/src/main.h
+++ b/src/main.h
@@ -77,6 +77,12 @@
#define MAX_CHARACTER_COUNT 3
+#ifdef TWMSERV_SUPPORT
+#define DEFAULT_PORT 9601
+#else
+#define DEFAULT_PORT 6901
+#endif
+
/*
* Client different States
*/