1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 15:33:12 +02:00

- Fixed an invalid badword block in the conf causing a crash, reported by Monk (#2639).

This commit is contained in:
Bram Matthys
2005-09-13 22:43:51 +00:00
parent 7ebd0debd7
commit e31b23ee8a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -861,3 +861,4 @@
- Fixed win32 makefile, now compiles fine.
- Fixed (important?) reference count bug regarding sptr->serv->conf. I don't know what
effects this caused (memory corruption?), but it didn't look good ;).
- Fixed an invalid badword block in the conf causing a crash, reported by Monk (#2639).
+1 -1
View File
@@ -5385,7 +5385,7 @@ int _test_badword(ConfigFile *conf, ConfigEntry *ce)
if (has_replace && action == 'b')
{
config_error("%s:%i: badword::action is block but badword::replace exists",
cep->ce_fileptr->cf_filename, cep->ce_varlinenum);
ce->ce_fileptr->cf_filename, ce->ce_varlinenum);
errors++;
}
}