From a5861a4c81bb616b7fba2028cf9ee31f890357c5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 8 Sep 2013 19:43:28 -0700 Subject: Use IP4 classes and rename conf variables --- src/char/char.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/char.hpp') diff --git a/src/char/char.hpp b/src/char/char.hpp index 8e37c64..abd5381 100644 --- a/src/char/char.hpp +++ b/src/char/char.hpp @@ -2,6 +2,7 @@ #define CHAR_HPP #include "../common/const_array.hpp" +#include "../common/ip.hpp" #include "../common/mmo.hpp" constexpr int MAX_MAP_SERVERS = 30; @@ -12,7 +13,7 @@ constexpr int MAX_MAP_SERVERS = 30; struct mmo_map_server { - long ip; + IP4Address ip; short port; int users; MapName maps[MAX_MAP_PER_SERVER]; -- cgit v1.2.3-70-g09d2