mirror of
https://github.com/anope/anope.git
synced 2026-07-01 14:06:39 +02:00
Use a set instead of a vector for storing memo ignores.
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ Serializable *NickCore::Type::Unserialize(Serializable *obj, Serialize::Data &da
|
||||
spacesepstream sep(buf);
|
||||
nc->memos.ignores.clear();
|
||||
while (sep.GetToken(buf))
|
||||
nc->memos.ignores.push_back(buf);
|
||||
nc->memos.ignores.insert(buf);
|
||||
}
|
||||
|
||||
Extensible::ExtensibleUnserialize(nc, nc, data);
|
||||
|
||||
Reference in New Issue
Block a user