aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-03-23 15:51:35 -0400
committerCara Salter <cara@devcara.com>2023-03-23 15:51:35 -0400
commit5bd1801667f1a07811e7452cf7973e5342b48802 (patch)
tree1bbfbc0954171f2e19ebae1226f5efe7fe3cfda4 /src
parent192dd9d656742b1931ae44f05e1604ff18d64d3b (diff)
downloadcmud-5bd1801667f1a07811e7452cf7973e5342b48802.tar.gz
cmud-5bd1801667f1a07811e7452cf7973e5342b48802.zip
remove vscode configurationHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 07a3f2c..08701f5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,9 +27,11 @@ int main() {
debug("Done");
const char* name;
- if (!config_lookup_string(&cfg, "name", &name)) {
+ if (config_lookup_string(&cfg, "name", &name) != CONFIG_TRUE) {
error("Invalid config");
exit(-1);
+ } else {
+ info("Starting up %s game server", name);
}
info("Starting up %s game server", name);