Anope IRC Services  Version 1.8
Macros | Functions | Variables
ircd_catserv.c File Reference
#include "module.h"
#include "catserv_messages.h"
Include dependency graph for ircd_catserv.c:

Go to the source code of this file.

Macros

#define AUTHOR   "Anope"
 
#define VERSION   VERSION_STRING
 

Functions

int my_privmsg (char *source, int ac, char **av)
 
void addClient (char *nick, char *realname)
 
void delClient (void)
 
void catserv (User *u, char *buf)
 
int AnopeInit (int argc, char **argv)
 
void AnopeFini (void)
 

Variables

char * s_CatServ = "CatServ"
 

Macro Definition Documentation

#define AUTHOR   "Anope"

Simple module to load up a client called CatServ and process commands for it This module is an example, and has no useful purpose!

Please visit http://modules.anope.org for useful modules!

Definition at line 12 of file ircd_catserv.c.

Referenced by AnopeInit().

#define VERSION   VERSION_STRING

Definition at line 13 of file ircd_catserv.c.

Referenced by AnopeInit().

Function Documentation

void addClient ( char *  nick,
char *  realname 
)

Definition at line 83 of file ircd_catserv.c.

References anope_cmd_bot_nick().

Referenced by AnopeInit().

void AnopeFini ( void  )

Definition at line 43 of file ircd_catserv.c.

References delClient().

int AnopeInit ( int  argc,
char **  argv 
)
void catserv ( User u,
char *  buf 
)

Definition at line 95 of file ircd_catserv.c.

References Catserv_cmdTable, mod_run_cmd(), user_::nick, notice(), notice_lang(), s_CatServ, skeleton, and stricmp().

Referenced by my_privmsg().

void delClient ( void  )

Definition at line 88 of file ircd_catserv.c.

References anope_cmd_quit(), and s_CatServ.

Referenced by AnopeFini().

int my_privmsg ( char *  source,
int  ac,
char **  av 
)

Variable Documentation

char* s_CatServ = "CatServ"

Definition at line 21 of file ircd_catserv.c.

Referenced by AnopeInit(), catserv(), delClient(), and my_privmsg().