summaryrefslogtreecommitdiff
path: root/src/net/packetlimiter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/packetlimiter.cpp')
-rw-r--r--src/net/packetlimiter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/packetlimiter.cpp b/src/net/packetlimiter.cpp
index 6f7ac55cb..8c34b6919 100644
--- a/src/net/packetlimiter.cpp
+++ b/src/net/packetlimiter.cpp
@@ -33,6 +33,8 @@
struct PacketLimit final
{
+ A_DEFAULT_COPY(PacketLimit)
+
int lastTime;
int timeLimit;
int cnt;