From 59b1c5c056269a5151ef7a17cdedf8a3caccfc61 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 11 Feb 2015 01:53:19 +0100
Subject: Convert to CMake
---
zyklonb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'zyklonb.c')
diff --git a/zyklonb.c b/zyklonb.c
index ef7b8a6..257de7d 100644
--- a/zyklonb.c
+++ b/zyklonb.c
@@ -18,8 +18,7 @@
*
*/
-#define PROGRAM_NAME "ZyklonB"
-#define PROGRAM_VERSION "alpha"
+#include "config.h"
#include "common.c"
#include
@@ -48,7 +47,7 @@ static struct config_item g_config_table[] =
{ "prefix", ":", "The prefix for bot commands" },
{ "admin", NULL, "Host mask for administrators" },
{ "plugins", NULL, "The plugins to load on startup" },
- { "plugin_dir", NULL, "Where to search for plugins" },
+ { "plugin_dir", PLUGIN_DIR, "Where to search for plugins" },
{ "recover", "on", "Whether to re-launch on crash" },
{ NULL, NULL, NULL }
--
cgit v1.2.3-54-g00ecf