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

- Some text updates... docs: now 3.2.2-CVS, lso got rid of double version to avoid

confusion. credits: fixed typo.
This commit is contained in:
Bram Matthys
2004-10-30 12:21:24 +00:00
parent 43db020b75
commit aaabed6af2
9 changed files with 9 additions and 17 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ DLLFUNC int m_message(aClient *cptr, aClient *sptr, int parc, char *parv[], int
{
ret = dospamfilter(sptr, text, (notice ? SPAMF_USERNOTICE : SPAMF_USERMSG), acptr->name);
if (ret < 0)
return FLUSH_BUFFER;
return ret;
}
for (tmphook = Hooks[HOOKTYPE_USERMSG]; tmphook; tmphook = tmphook->next) {
-5
View File
@@ -557,11 +557,6 @@ char reason[512];
sendto_one(sptr, ":%s NOTICE %s :Invalid 'action' field (%s)", me.name, sptr->name, parv[3]);
return spamfilter_usage(sptr);
}
if ((action == BAN_ACT_DCCBLOCK) && (targets != SPAMF_DCC))
{
sendnotice(sptr, "action 'dccblock' is incompatible with non-dcc target(s) '%s'", targetbuf);
return 0;
}
actionbuf[0] = banact_valtochar(action);
actionbuf[1] = '\0';