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

Add spamfilter::rule (preconditions), add context to crule parser,

and add the first functions: online_time() and reputation().

The more interesting stuff will follow later...
This commit is contained in:
Bram Matthys
2023-07-06 15:43:12 +02:00
parent 1e572e25b9
commit 6bbcdfd1b3
11 changed files with 226 additions and 109 deletions
+1 -1
View File
@@ -971,7 +971,7 @@ char *spamfilter_target_inttostring(int v)
if (v & e->value)
*p++ = e->character;
*p = '\0';
return buf;
return *buf ? buf : "-";
}
/** Replace underscores back to the space character.