IRCBot Plugin API  v5
Public Attributes | List of all members
CHANADMIN_INTERFACE Struct Reference

#include <chanadminapi.h>

Public Attributes

bool(* add_ban )(int netno, const char *chan, const char *hostmask, const char *set_by, int64 time_expire, const char *reason)
 
bool(* del_ban )(int netno, const char *chan, const char *hostmask)
 
bool(* do_kick )(int netno, const char *chan, const char *nick, const char *reason)
 
bool(* do_ban )(int netno, const char *chan, const char *hostmask)
 
bool(* do_unban )(int netno, const char *chan, const char *hostmask)
 

Member Data Documentation

bool(* CHANADMIN_INTERFACE::add_ban)(int netno, const char *chan, const char *hostmask, const char *set_by, int64 time_expire, const char *reason)
Parameters
netnoThe IRC network number to set the ban on. For global bans use the netno of the network it was ordered from or 0
chanThe channel to add the ban in or "global" for a global ban
hostmaskThe hostmask to ban
set_byWho ordered the ban
time_expireA timestamp for the ban to expire at (time()-style) or 0 to never expire.
reasonYou can use reason=NULL for no reason
bool(* CHANADMIN_INTERFACE::del_ban)(int netno, const char *chan, const char *hostmask)
bool(* CHANADMIN_INTERFACE::do_kick)(int netno, const char *chan, const char *nick, const char *reason)
bool(* CHANADMIN_INTERFACE::do_ban)(int netno, const char *chan, const char *hostmask)
bool(* CHANADMIN_INTERFACE::do_unban)(int netno, const char *chan, const char *hostmask)

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