Add BITCHXRC_NAME to config.h

(instead of hardcoding it in irc.c).  Simplify setting of ircrc_file and bircrc_file.

Use IRCRC_NAME and BITCHXRC_NAME in help strings.
This commit is contained in:
Kevin Easton committed 2017-12-01 23:33:13 +11:00
1 parent 973ae0e4da
commit 035063abce
3 files changed
+15 -30

No files matched your search

+4 -2
View File
@@ -322,9 +322,11 @@
* Define the name of your ircrc file here.
*/
#if defined(WINNT) || defined(__EMX__)
#define IRCRC_NAME "/irc-rc"
#define IRCRC_NAME "irc-rc"
#define BITCHXRC_NAME "bx-rc"
#else
#define IRCRC_NAME "/.ircrc"
#define IRCRC_NAME ".ircrc"
#define BITCHXRC_NAME ".bitchxrc"
#endif
#define DEFAULT_PING_TYPE 1