diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-19 10:12:02 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-19 10:12:02 +0000 |
commit | e86fa67e38788982993e40210aa4a24db890dbbd (patch) | |
tree | df6e7b9a827cbd9093d8b74e130d16e25251da30 /include | |
parent | 1fc26420345901d2963657fd765fd24af4bce4cd (diff) |
Use a set instead of a vector for storing memo ignores.
Diffstat (limited to 'include')
-rw-r--r-- | include/memo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/memo.h b/include/memo.h index 4d5a43af2..cff76dcd3 100644 --- a/include/memo.h +++ b/include/memo.h @@ -46,7 +46,7 @@ struct CoreExport MemoInfo final { int16_t memomax = 0; Serialize::Checker<std::vector<Memo *> > memos; - std::vector<Anope::string> ignores; + std::set<Anope::string, ci::less> ignores; MemoInfo(); Memo *GetMemo(unsigned index) const; |