X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodcmd.c;h=d84b25142f45327a2806e3eef407317bf4923879;hb=81af33175f966e57f1060936ea6f7092dc806abc;hp=e3b51a2e780fdee1e86dfa767828ed574277ce10;hpb=ca9bb78023dcd791c00992762dd1b86da8974f8f;p=srvx.git diff --git a/src/modcmd.c b/src/modcmd.c index e3b51a2..d84b251 100644 --- a/src/modcmd.c +++ b/src/modcmd.c @@ -18,7 +18,7 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "arch-version.h" +#include "git-version.h" #include "chanserv.h" #include "conf.h" #include "modcmd.h" @@ -877,7 +877,7 @@ modcmd_privmsg(struct userNode *user, struct userNode *bot, const char *text, in * users, except to add copyright information pertaining * to changes you make to srvx. */ - snprintf(response, sizeof(response), "\x01VERSION %s (%s) %s\x01", PACKAGE_STRING, CODENAME, ARCH_VERSION); + snprintf(response, sizeof(response), "\x01VERSION %s (%s) %s\x01", PACKAGE_STRING, CODENAME, GIT_VERSION); irc_notice_user(bot, user, response); } return; @@ -1857,7 +1857,7 @@ static MODCMD_FUNC(cmd_version) { */ send_message_type(4, user, cmd->parent->bot, "$b"PACKAGE_STRING"$b ("CODENAME"), Built: "__DATE__", "__TIME__". Copyright 2000-2006 srvx Development Team."); if ((argc > 1) && !irccasecmp(argv[1], "arch")) - send_message_type(4, user, cmd->parent->bot, "%s", ARCH_VERSION); + send_message_type(4, user, cmd->parent->bot, "%s", GIT_VERSION); else send_message_type(12, user, cmd->parent->bot, "The srvx Development Team includes Paul Chang, Adrian Dewhurst, Miles Peterson, Michael Poole and others.\nThe srvx Development Team can be reached at http://sf.net/projects/srvx/ or in #srvx on irc.gamesurge.net."); return 1;