aboutsummaryrefslogtreecommitdiff
path: root/modules/alias.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-13 21:46:42 +0000
committerGravatar Sadie Powell2026-03-13 21:46:42 +0000
commit680242c4979d262298ad77a411810e16a0b8c5bc (patch)
tree3b0e1164c87bd2b0569152cc0a29ad96d87406b3 /modules/alias.cpp
parentMove <options:{fixed,prefix,suffix}part> to <channels>. (diff)
Clean up the casemapping checking and comparison code.
Diffstat (limited to 'modules/alias.cpp')
-rw-r--r--modules/alias.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/alias.cpp b/modules/alias.cpp
index 9f15868f9..b992c6b9b 100644
--- a/modules/alias.cpp
+++ b/modules/alias.cpp
@@ -69,8 +69,7 @@ class ModuleAlias final
* We can, however, use a fancy invention: the multimap. Maps a key to one or more values.
* -- w00t
*/
- typedef insp::flat_multimap<std::string, Alias, irc::insensitive_swo> AliasMap;
-
+ using AliasMap = insp::casemapped_flat_multimap<Alias>;
AliasMap Aliases;
/* whether or not +B users are allowed to use fantasy commands */