Cleanup and rename replace_color() to put_color(), including sanity-checking of

foreground color code - this ensures that if a wild color code makes it this
far, it doesn't crash the client.



git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@121 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-04-08 13:10:05 +00:00
parent fd9980b9c7
commit 780ac2c149
2 changed files with 32 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* [1.1s01] Sanity check color codes, fixes a potential crash. (caf)
* Add /FSET USERMODE_OTHER to correctly format user mode changes where the
source isn't the same as the target, reported by gauze. (caf)