summaryrefslogtreecommitdiff
path: root/zyklonb.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-11 01:53:19 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-11 01:53:19 +0100
commit59b1c5c056269a5151ef7a17cdedf8a3caccfc61 (patch)
treefbab85648333cb0f1d7f25f79cfbf544cf624031 /zyklonb.c
parentdfe50aeb85dae10c0fe94e7fb63e1dc887816d49 (diff)
downloadxK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.tar.gz
xK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.tar.xz
xK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.zip
Convert to CMake
Diffstat (limited to 'zyklonb.c')
-rw-r--r--zyklonb.c5
1 files changed, 2 insertions, 3 deletions
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 <arpa/inet.h>
@@ -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 }