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

Duh.. (fix for previous fixes)

[skip ci]
This commit is contained in:
Bram Matthys
2020-01-26 10:41:04 +01:00
parent 1dc08afa71
commit ead0ad0aa6
+1 -1
View File
@@ -55,7 +55,7 @@ Event *EventAdd(Module *module, char *name, vFP event, void *data, long every_ms
return NULL;
}
if ((every_msec < 100) && (count > 1))
if ((every_msec < 100) && (count == 0))
{
ircd_log(LOG_ERROR, "[BUG] EventAdd() '%s' from module '%s' with suspiciously low every_msec value (%ld). "
"Note that it is in milliseconds now (1000 = 1 second)!",