Anope IRC Services  Version 2.0
Public Member Functions
Message::Kick Struct Reference

#include <messages.h>

Inheritance diagram for Message::Kick:
Inheritance graph
Collaboration diagram for Message::Kick:
Collaboration graph

Public Member Functions

 Kick (Module *creator, const Anope::string &mname="KICK")
void Run (MessageSource &source, const std::vector< Anope::string > &params) anope_override
- Public Member Functions inherited from IRCDMessage
 IRCDMessage (Module *owner, const Anope::string &n, unsigned p=0)
unsigned GetParamCount () const
void SetFlag (IRCDMessageFlag f)
bool HasFlag (IRCDMessageFlag f) const
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Service
Anope::string type
Anope::string name

Detailed Description

Definition at line 69 of file messages.h.

Constructor & Destructor Documentation

◆ Kick()

Message::Kick::Kick ( Module creator,
const Anope::string mname = "KICK" 

Definition at line 71 of file messages.h.

References anope_override, and IRCDMESSAGE_SOFT_LIMIT.

Member Function Documentation

◆ Run()

void Kick::Run ( MessageSource source,
const std::vector< Anope::string > &  params 

Implements IRCDMessage.

Definition at line 165 of file messages.cpp.

References Channel::Find(), sepstream::GetToken(), and Channel::KickInternal().

The documentation for this struct was generated from the following files: