diff options
Diffstat (limited to 'include/modules')
-rw-r--r-- | include/modules/ircv3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules/ircv3.h b/include/modules/ircv3.h index 338abdeba..9729e8ed5 100644 --- a/include/modules/ircv3.h +++ b/include/modules/ircv3.h @@ -40,11 +40,11 @@ class IRCv3::WriteNeighborsWithCap : public User::ForEachNeighborHandler } public: - WriteNeighborsWithCap(User* user, ClientProtocol::Event& ev, const Cap::Capability& capability) + WriteNeighborsWithCap(User* user, ClientProtocol::Event& ev, const Cap::Capability& capability, bool include_self = false) : cap(capability) , protoev(ev) { - user->ForEachNeighbor(*this, false); + user->ForEachNeighbor(*this, include_self); } }; |