X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/62a2e0a991341575d6f972d587e049b9fa0e7962..c0601d1e22c5c3749ea94c1c4359f9223b732fe4:/src/proto-common.c?ds=sidebyside diff --git a/src/proto-common.c b/src/proto-common.c index 2d8e1f8..92d7974 100644 --- a/src/proto-common.c +++ b/src/proto-common.c @@ -26,6 +26,7 @@ #include "spamserv.h" #include "shun.h" #include "timeq.h" +#include "version.h" #ifdef HAVE_SYS_SOCKET_H #include #endif @@ -370,7 +371,7 @@ static CMD_FUNC(cmd_version) log_module(MAIN_LOG, LOG_ERROR, "Could not find VERSION origin user %s", origin); return 0; } - irc_numeric(user, 351, "%s %s %s", PACKAGE_TARNAME, PACKAGE_VERSION, self->name); + irc_numeric(user, 351, "%s %s+[%s] %s", PACKAGE_TARNAME, PACKAGE_VERSION, cvs_version, self->name); return 1; }