aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-11-19 18:28:12 +0000
committerGravatar Sadie Powell2021-11-23 23:05:06 +0000
commitf776f9237193dedb3140468a25f38df11c79c6a4 (patch)
tree479c1aa73c5e2f8d4190ab311a73e14e4e807675 /src/users.cpp
parentSwitch mkdescriptions from YAML::Tiny to YAML. (diff)
Add the <connect:uniqueusername> option.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1ec7d9423..6d8766082 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1265,6 +1265,7 @@ ConnectClass::ConnectClass(ConfigTag* tag, char t, const std::string& mask)
, fakelag(true)
, maxconnwarn(true)
, resolvehostnames(true)
+ , uniqueusername(false)
, maxchans(0)
, penaltythreshold(0)
, pingtime(0)
@@ -1332,6 +1333,7 @@ void ConnectClass::Update(const ConnectClass* src)
fakelag = src->fakelag;
maxconnwarn = src->maxconnwarn;
resolvehostnames = src->resolvehostnames;
+ uniqueusername = src->uniqueusername;
maxchans = src->maxchans;
penaltythreshold = src->penaltythreshold;
pingtime = src->pingtime;