equal
deleted
inserted
replaced
43 if (bindtextdomain ("mcbot", LOCALE_PATH) != NULL) { |
43 if (bindtextdomain ("mcbot", LOCALE_PATH) != NULL) { |
44 (void)textdomain ("mcbot"); |
44 (void)textdomain ("mcbot"); |
45 (void)setlocale (LC_MESSAGES, ""); |
45 (void)setlocale (LC_MESSAGES, ""); |
46 } |
46 } |
47 |
47 |
48 printf ("mcbot-%1.2f\n", BOT_VERSION); |
48 printf ("mcbot-%1.2f Build %s\n", BOT_VERSION, BOT_BUILD); |
49 |
49 |
50 if ((len = config (&uc, CONFIG_FILE)) != 0) { |
50 if ((len = config (&uc, CONFIG_FILE)) != 0) { |
51 switch (len) { |
51 switch (len) { |
52 case -1: |
52 case -1: |
53 printf ("You need to create a config file %s\n", CONFIG_FILE); |
53 printf ("You need to create a config file %s\n", CONFIG_FILE); |