branding: denote custom branding in ircd -version

This commit is contained in:
William Pitcock 2011-05-08 09:11:50 -05:00
parent f5493691ed
commit 8bd1c8a19a

View file

@ -590,6 +590,9 @@ main(int argc, char *argv[])
if(printVersion)
{
printf("ircd: version %s(%s)\n", ircd_version, serno);
#ifdef CUSTOM_BRANDING
printf("ircd: based on %s-%s\n", PACKAGE_NAME, PACKAGE_VERSION);
#endif
printf("ircd: %s\n", rb_lib_version());
exit(EXIT_SUCCESS);
}