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
2017-12-01 23:26:30 +11:00
parent 973ae0e4da
commit 035063abce
3 changed files with 15 additions and 30 deletions

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