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

- Oops.. made spamfilter for msgs/notices not working ;p.. fixed.

This commit is contained in:
Bram Matthys
2004-08-02 03:16:54 +00:00
parent fa1c1d4db7
commit acf99712e9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -305,3 +305,4 @@
- Windows: the 'notice' parameter in the usermsg callback was always 0 due some windows/vc
weirdness, this also affected spamfilter (so any spamfilters added only at notice
and not at msg on windows would not work). Now using the real 'notice' parameter.
- Oops.. made spamfilter for msgs/notices not working ;p.. fixed.
+1 -1
View File
@@ -270,7 +270,7 @@ DLLFUNC int m_message(aClient *cptr, aClient *sptr, int parc, char *parv[], int
if (MyClient(sptr))
{
ret = dospamfilter(sptr, text, notice, acptr->name);
ret = dospamfilter(sptr, text, (notice ? SPAMF_USERNOTICE : SPAMF_USERMSG), acptr->name);
if (ret < 0)
return FLUSH_BUFFER;
}