X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/d1927afcaa98c1d2a1d46b9593dac76b649fd357..285f72cf4f14b712d92d0fa6a64b649213d954c4:/gameserv/tcpclient.cpp diff --git a/gameserv/tcpclient.cpp b/gameserv/tcpclient.cpp index 31ff032..bc9941d 100644 --- a/gameserv/tcpclient.cpp +++ b/gameserv/tcpclient.cpp @@ -106,6 +106,11 @@ int main(int argc, char *argv[]) goto end; } + if (load_store() == 0) + { + log("Error loading store"); + goto end; + } if (load_tavern() == 0) { log("Error loading tavern"); @@ -171,7 +176,8 @@ int main(int argc, char *argv[]) bool loaded = false; ignore_pipe(); - sock = make_connection(remoteport, SOCK_STREAM, remoteserver); + sock = conn(remoteserver, remoteport, localhost, 0); + // sock = make_connection(remoteport, SOCK_STREAM, remoteserver); if (sock == -1) { fprintf(stderr,"make_connection failed.\n"); unload_config_file();