diff options
| author | 2019-10-24 10:25:29 +0100 | |
|---|---|---|
| committer | 2019-10-24 15:56:20 +0100 | |
| commit | 2e75491aed528e63a3b1bcbe76483e395f8c2506 (patch) | |
| tree | 96bf5efb9c49bb7f9360f4697ada8e5ef1d51d65 /src/users.cpp | |
| parent | Improve the timed ban notices (#1722). (diff) | |
Fix respecting the deprecated <channels:users> tag.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp index 69def5154..bca1c6a7c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1197,10 +1197,24 @@ const std::string& FakeUser::GetFullRealHost() } ConnectClass::ConnectClass(ConfigTag* tag, char t, const std::string& mask) - : config(tag), type(t), fakelag(true), name("unnamed"), registration_timeout(0), host(mask), - pingtime(0), softsendqmax(0), hardsendqmax(0), recvqmax(0), - penaltythreshold(0), commandrate(0), maxlocal(0), maxglobal(0), maxconnwarn(true), maxchans(ServerInstance->Config->MaxChans), - limit(0), resolvehostnames(true) + : config(tag) + , type(t) + , fakelag(true) + , name("unnamed") + , registration_timeout(0) + , host(mask) + , pingtime(0) + , softsendqmax(0) + , hardsendqmax(0) + , recvqmax(0) + , penaltythreshold(0) + , commandrate(0) + , maxlocal(0) + , maxglobal(0) + , maxconnwarn(true) + , maxchans(0) + , limit(0) + , resolvehostnames(true) { } |
