#include "module.h"#include "catserv_messages.h"
Go to the source code of this file.
Defines | |
| #define | AUTHOR "Anope" |
| #define | VERSION "$Id: ircd_catserv.c 953 2006-01-14 11:36:29Z certus $" |
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" |
| #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.
| #define VERSION "$Id: ircd_catserv.c 953 2006-01-14 11:36:29Z certus $" |
Definition at line 13 of file ircd_catserv.c.
| void addClient | ( | char * | nick, | |
| char * | realname | |||
| ) |
Definition at line 82 of file ircd_catserv.c.
References anope_cmd_bot_nick().
Referenced by AnopeInit().
| void AnopeFini | ( | void | ) |
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 23 of file ircd_catserv.c.
References addClient(), addMessageList(), alog(), AUTHOR, createMessage(), MOD_CONT, MOD_ERR_OK, MOD_HEAD, moduleAddAuthor(), moduleAddMessage(), moduleAddVersion(), my_privmsg(), s_CatServ, UseTokens, and VERSION.
| void catserv | ( | User * | u, | |
| char * | buf | |||
| ) |
Definition at line 94 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 87 of file ircd_catserv.c.
References anope_cmd_quit(), and s_CatServ.
Referenced by AnopeFini().
| int my_privmsg | ( | char * | source, | |
| int | ac, | |||
| char ** | av | |||
| ) |
Definition at line 52 of file ircd_catserv.c.
References catserv(), finduser(), MOD_CONT, MOD_STOP, s_CatServ, ServerName, and stricmp().
Referenced by AnopeInit().
| char* s_CatServ = "CatServ" |
Definition at line 21 of file ircd_catserv.c.
1.5.7.1