Add get_kill_reason() that uses BitchX.kill, and convert all /KILL users to it

Previously only send_kill() used BitchX.kill - the other KILL commands (eg.
/WHOKILL) were using the random kick reasons.  Standardise them all on
BitchX.kill, and add this file to the source so it can be installed along
with the other random reason files.
This commit is contained in:
Kevin Easton
2015-06-27 23:18:38 +10:00
parent 27e32a0319
commit ff251080da
10 changed files with 90 additions and 80 deletions

View File

@@ -17,10 +17,13 @@
/* Default BitchX ircname file. */
#undef DEFAULT_BITCHX_IRCNAME_FILE
/* Default BitchX kick file. */
/* Default BitchX kick reasons file. */
#undef DEFAULT_BITCHX_KICK_FILE
/* Default BitchX quit file. */
/* Default BitchX kill reasons file. */
#undef DEFAULT_BITCHX_KILL_FILE
/* Default BitchX quit reasons file. */
#undef DEFAULT_BITCHX_QUIT_FILE
/* Default CToolZ directory. */