mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 12:23:13 +02:00
- Fixed bug in +G where with not-really-matching-words color was needlessly stripped,
reported by SpeedFire (#0002375).
This commit is contained in:
@@ -674,3 +674,5 @@
|
||||
- Module coders: using extcmode_default_requirechop is now depricated, check src/extcmodes.c
|
||||
ctrl+f extcmode_default_requirechop for more details (solution: copy+paste & fill in modechar).
|
||||
- Nicks with ~ are now also not cutoff anymore but rejected like any other illegal char (#0002074).
|
||||
- Fixed bug in +G where with not-really-matching-words color was needlessly stripped,
|
||||
reported by SpeedFire (#0002375).
|
||||
|
||||
+2
-1
@@ -102,7 +102,6 @@ int cleaned = 0;
|
||||
pold = our_strcasestr(pold, badword->word);
|
||||
if (!pold)
|
||||
break;
|
||||
cleaned = 1;
|
||||
if (replacen == -1)
|
||||
replacen = strlen(replacew);
|
||||
if (searchn == -1)
|
||||
@@ -131,6 +130,8 @@ int cleaned = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
cleaned = 1; /* still too soon? Syzop/20050227 */
|
||||
|
||||
/* Do we have any not-copied-yet data? */
|
||||
if (poldx != startw) {
|
||||
int tmp_n = startw - poldx;
|
||||
|
||||
Reference in New Issue
Block a user