/*
* Main Citadel header file
*
- * Copyright (c) 1987-2018 by the citadel.org team
+ * Copyright (c) 1987-2020 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
*/
#define CITADEL PACKAGE_STRING
-#define REV_LEVEL 921 // This version
+#define REV_LEVEL 929 // This version
#define REV_MIN 591 // Oldest compatible database
#define EXPORT_REV_MIN 760 // Oldest compatible export files
-#define LIBCITADEL_MIN 920 // Minimum required version of libcitadel
-
-#define SERVER_TYPE 0 // zero for stock Citadel; other developers please
- // obtain SERVER_TYPE codes for your implementations
+#define LIBCITADEL_MIN 922 // Minimum required version of libcitadel
+#define SERVER_TYPE 0 // zero for stock Citadel; other developers please obtain SERVER_TYPE codes for your implementations
#ifdef LIBCITADEL_VERSION_NUMBER
#if LIBCITADEL_VERSION_NUMBER < LIBCITADEL_MIN
#endif
#endif
+/*
+ * This is the user name and password for the default administrator account
+ * that is created when Citadel Server is started with an empty database.
+ */
+#define DEFAULT_ADMIN_USERNAME "admin"
+#define DEFAULT_ADMIN_PASSWORD "citadel"
+
/* Various length constants */
#define ROOMNAMELEN 128 /* The size of a roomname string */
/* number of items which may be handled by the CONF command */
#define NUM_CONFIGS 71
-#define TRACE syslog(LOG_DEBUG, "\033[31mCheckpoint: %s : %d\033[0m", __FILE__, __LINE__)
+#define TRACE syslog(LOG_DEBUG, "\033[7m Checkpoint: %s : %d \033[0m", __FILE__, __LINE__)
#ifndef LONG_MAX
#define LONG_MAX 2147483647L
}
#endif
+#if __GNUC__ >= 8
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+#endif
+
#endif /* CITADEL_H */