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

@@ -1,7 +1,10 @@
[Changes 1.2.2]
* Use BitchX.kill in all cases for random /KILL messages, and install a
copy of this file. (caf)
* Fix potential crash in /unban, and change it so that it correctly matches
the user@ portion of the hostmask.
the user@ portion of the hostmask. (caf)
* Clean up the build by fixing up the (unsigned char *) / (char *) mismatches
that the compiler warns about. (caf)