1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 11:46:38 +02:00

- If a nick is qlined, the user is now lagged up to limit qline floods a bit (#0001335).

This commit is contained in:
Bram Matthys
2004-10-06 22:03:11 +00:00
parent fae77f21ec
commit f6e36300bb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -381,3 +381,4 @@
when a user connects. This makes it easy to ban drones with simple patterns.
For example: '/spamfilter add u gzline 86400 Drone[0-9]+!.+@.+:Drone[0-9]'
would kill any drones that have both a nick and realname with 'Drone' followed by digits.
- If a nick is qlined, the user is now lagged up to limit qline floods a bit (#0001335).
+1
View File
@@ -1362,6 +1362,7 @@ CMD_FUNC(m_nick)
nick, tklban->reason);
return 0;
}
sptr->since += 4; /* lag them up */
if (!IsOper(cptr))
{
sendto_one(sptr, err_str(ERR_ERRONEUSNICKNAME),