InspIRCd  3.0
Public Member Functions | List of all members
User::ForEachNeighborHandler Class Referenceabstract

#include <users.h>

Public Member Functions

virtual void Execute (LocalUser *user)=0
 

Detailed Description

To execute a function for each local neighbor of a user, inherit from this class and pass an instance of it to User::ForEachNeighbor().

Member Function Documentation

◆ Execute()

virtual void User::ForEachNeighborHandler::Execute ( LocalUser user)
pure virtual

Method to execute for each local neighbor of a user. Derived classes must implement this.

Parameters
userCurrent neighbor

The documentation for this class was generated from the following file: