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:
@@ -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) {
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user