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:
@@ -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
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user