mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 18:53:13 +02:00
Fixed bug in ipv6 + unknown connection flood.
This commit is contained in:
@@ -1858,3 +1858,4 @@ seen. gmtime warning still there
|
||||
- Added (optional) class::recvq so you can dynamically/per class set the recvq (flood control).
|
||||
CLIENT_FLOOD in config.h is used as a default value if recvq is not specified.
|
||||
- Bugfix for crash with STRIPBADWORDS_CHAN_ALWAYS.
|
||||
- Fixed bug in ipv6 + unknown connection flood.
|
||||
|
||||
+1
-1
@@ -161,7 +161,7 @@ void ban_flooder(aClient *cptr)
|
||||
NULL /*8 reason */
|
||||
};
|
||||
|
||||
strlcpy(hostip, (char *)inetntoa((char *)&cptr->ip), sizeof(hostip));
|
||||
strlcpy(hostip, Inet_ia2p(&cptr->ip), sizeof(hostip));
|
||||
|
||||
tkllayer[4] = hostip;
|
||||
tkllayer[5] = me.name;
|
||||
|
||||
Reference in New Issue
Block a user