From 524e2ce8b1a949ad9f844b8693b03070d6c27583 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 12 May 2010 19:47:24 -0500 Subject: Add some missing updates from rehash, noticed by mixx941 --- src/users.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 6f2880659..373e18f46 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1714,6 +1714,9 @@ ConnectClass::ConnectClass(ConfigTag* tag, char t, const std::string& mask, cons void ConnectClass::Update(const ConnectClass* src) { + config = src->config; + type = src->type; + fakelag = src->fakelag; name = src->name; registration_timeout = src->registration_timeout; host = src->host; @@ -1722,7 +1725,9 @@ void ConnectClass::Update(const ConnectClass* src) hardsendqmax = src->hardsendqmax; recvqmax = src->recvqmax; penaltythreshold = src->penaltythreshold; + commandrate = src->commandrate; maxlocal = src->maxlocal; maxglobal = src->maxglobal; + maxchans = src->maxchans; limit = src->limit; } -- cgit v1.2.3