mirror of
https://github.com/anope/anope.git
synced 2026-06-28 07:56:37 +02:00
BUILD : 1.7.8 (589) BUGS : 303 NOTES : normalizeBuffer() now strips two digit color codes
git-svn-id: svn://svn.anope.org/anope/trunk@589 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@439 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
03573ab139
commit
4e33836bd5
@@ -6,6 +6,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
|
||||
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
|
||||
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
|
||||
02/28 F normalizeBuffer() now strips two digit color codes [#303]
|
||||
02/28 F nickIsServices() no longer alters the buffer [#304]
|
||||
02/22 F Uninitialized variable in NickServ DROP. [ #00]
|
||||
02/22 F Remote whois sending incorrect numeric back. [#301]
|
||||
|
||||
+1
-1
@@ -5374,7 +5374,7 @@ OPER_HELP_SET
|
||||
DEBUG Activate or deactivate debug mode
|
||||
NOEXPIRE Activate or deactivate no expire mode
|
||||
SUPERADMIN Activate or deactivate super-admin mode
|
||||
SQL Activate or deactivate sql mode
|
||||
SQL Activate or deactivate sql mode
|
||||
IGNORE Activate or deactivate ignore mode
|
||||
LIST List the options
|
||||
|
||||
|
||||
+17
-1
@@ -2570,14 +2570,30 @@ char *normalizeBuffer(char *buf)
|
||||
if (isdigit(buf[i + 1])) {
|
||||
i++;
|
||||
|
||||
/* not the best way to remove colors
|
||||
* which are two digit but no worse then
|
||||
* how the Unreal does with +S - TSL
|
||||
*/
|
||||
if (isdigit(buf[i + 1])) {
|
||||
i++;
|
||||
}
|
||||
|
||||
/* Check for background color code
|
||||
* and remove it as well
|
||||
*/
|
||||
if (buf[i + 1] == ',') {
|
||||
i++;
|
||||
|
||||
if (isdigit(buf[i + 1]))
|
||||
if (isdigit(buf[i + 1])) {
|
||||
i++;
|
||||
}
|
||||
/* not the best way to remove colors
|
||||
* which are two digit but no worse then
|
||||
* how the Unreal does with +S - TSL
|
||||
*/
|
||||
if (isdigit(buf[i + 1])) {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="588"
|
||||
VERSION_BUILD="589"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.8 (589)
|
||||
# BUGS : 303
|
||||
# NOTES : normalizeBuffer() now strips two digit color codes
|
||||
#
|
||||
# BUILD : 1.7.8 (588)
|
||||
# BUGS : 304
|
||||
# NOTES : 1. nickIsServices() no longer alters the buffer 2. Fixes +I on Unreal and Bahamut 3. Anope Feature Request 285
|
||||
|
||||
Reference in New Issue
Block a user