aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-02 02:44:41 +0000
committerGravatar Sadie Powell2021-03-02 02:56:49 +0000
commit3f113fc04628491cb795d2fc809d89ff2379c61a (patch)
tree96f157ee67231916a41bdc4f73b92b96f229a05e /src/modules
parentReplace manual copy prevention with the insp::uncopiable class. (diff)
Move iterator_range to the utility directory and renamespace.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_alias.cpp4
-rw-r--r--src/modules/m_chanlog.cpp2
-rw-r--r--src/modules/m_customtitle.cpp2
-rw-r--r--src/modules/m_vhost.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 12a6ba833..aa040bf9c 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -166,7 +166,7 @@ class ModuleAlias : public Module
return MOD_RES_PASSTHRU;
/* We dont have any commands looking like this? Stop processing. */
- auto aliases = stdalgo::equal_range(Aliases, command);
+ auto aliases = insp::equal_range(Aliases, command);
if (aliases.empty())
return MOD_RES_PASSTHRU;
@@ -240,7 +240,7 @@ class ModuleAlias : public Module
// nor do we give a shit about the prefix
scommand.erase(0, fprefix.size());
- auto aliases = stdalgo::equal_range(Aliases, scommand);
+ auto aliases = insp::equal_range(Aliases, scommand);
if (aliases.empty())
return;
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index 1d6c96282..692b25352 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -64,7 +64,7 @@ class ModuleChanLog : public Module
ModResult OnSendSnotice(char &sno, std::string &desc, const std::string &msg) override
{
- auto channels = stdalgo::equal_range(logstreams, sno);
+ auto channels = insp::equal_range(logstreams, sno);
if (channels.empty())
return MOD_RES_PASSTHRU;
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index d98ded7b7..05120f930 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -84,7 +84,7 @@ class CommandTitle : public Command
CmdResult Handle(User* user, const Params& parameters) override
{
- for (const auto& [_, config] : stdalgo::equal_range(configs, parameters[0]))
+ for (const auto& [_, config] : insp::equal_range(configs, parameters[0]))
{
if (config.MatchUser(user) && config.CheckPass(user, parameters[1]))
{
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index 615272ef0..79915e0ed 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -64,7 +64,7 @@ class CommandVhost : public Command
CmdResult Handle(User* user, const Params& parameters) override
{
- for (const auto& [_, config] : stdalgo::equal_range(vhosts, parameters[0]))
+ for (const auto& [_, config] : insp::equal_range(vhosts, parameters[0]))
{
if (config.CheckPass(user, parameters[1]))
{