summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ee08824c..d176a9415 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12043,7 +12043,8 @@ int do_init_clif(void)
packetdb_readdb();
set_defaultparse(clif_parse);
- if (!make_listen_bind(bind_ip,map_port)) {
+ if( make_listen_bind(bind_ip,map_port) == -1 )
+ {
ShowFatalError("can't bind game port\n");
exit(EXIT_FAILURE);
}