summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-19 10:12:02 +0000
committerSadie Powell <sadie@witchery.services>2025-03-19 10:12:02 +0000
commite86fa67e38788982993e40210aa4a24db890dbbd (patch)
treedf6e7b9a827cbd9093d8b74e130d16e25251da30 /src/regchannel.cpp
parent1fc26420345901d2963657fd765fd24af4bce4cd (diff)
Use a set instead of a vector for storing memo ignores.
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 88adf49b8..376c8d661 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -284,7 +284,7 @@ Serializable *ChannelInfo::Type::Unserialize(Serializable *obj, Serialize::Data
spacesepstream sep(buf);
ci->memos.ignores.clear();
while (sep.GetToken(buf))
- ci->memos.ignores.push_back(buf);
+ ci->memos.ignores.insert(buf);
}
Extensible::ExtensibleUnserialize(ci, ci, data);