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:
@@ -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).
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user