aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_clearchan.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-29 17:38:58 +0100
committerGravatar Sadie Powell2022-10-29 17:38:58 +0100
commit561fe0fe64fb2b152618732613d328d2966d5b65 (patch)
treeef9951634a656941525e49f4bf29a0a53ccf4942 /src/modules/m_clearchan.cpp
parentMove xline-related typedefs from typedefs to the xline header. (diff)
Clean up the typedefs for OnBuildNeighborList.
Diffstat (limited to 'src/modules/m_clearchan.cpp')
-rw-r--r--src/modules/m_clearchan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp
index 0718d8f0d..bc6849258 100644
--- a/src/modules/m_clearchan.cpp
+++ b/src/modules/m_clearchan.cpp
@@ -163,10 +163,10 @@ public:
ServerInstance->Modules.Detach(events, this, sizeof(events)/sizeof(Implementation));
}
- void OnBuildNeighborList(User* source, IncludeChanList& include, std::map<User*, bool>& exception) override
+ void OnBuildNeighborList(User* source, User::NeighborList& include, User::NeighborExceptions& exception) override
{
bool found = false;
- for (IncludeChanList::iterator i = include.begin(); i != include.end(); ++i)
+ for (User::NeighborList::iterator i = include.begin(); i != include.end(); ++i)
{
if ((*i)->chan == cmd.activechan)
{