mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 13:46:37 +02:00
Fix /SPAMFILTER add having the regex syntax check backwards.
(Not too surprising when add is 0 and delete is 1) Not fatal, as error was still handled & send, but it went to all opers instead of just the one person adding it..
This commit is contained in:
+1
-1
@@ -811,7 +811,7 @@ char *err = NULL;
|
||||
actionbuf[0] = banact_valtochar(action);
|
||||
actionbuf[1] = '\0';
|
||||
|
||||
if (whattodo == 1)
|
||||
if (whattodo == 0)
|
||||
{
|
||||
/* now check the regex / match field... */
|
||||
m = unreal_create_match(match_type, parv[7], &err);
|
||||
|
||||
Reference in New Issue
Block a user