cs_appendtopic.c File Reference

#include "module.h"

Go to the source code of this file.

Defines

#define AUTHOR   "SGR"
#define LNG_APPENDTOPIC_SYNTAX   2
#define LNG_CHAN_HELP   0
#define LNG_CHAN_HELP_APPENDTOPIC   1
#define LNG_NUM_STRINGS   3
#define VERSION   "$Id: cs_appendtopic.c 1322 2007-12-28 19:12:02Z geniusdex $"

Functions

void AnopeFini (void)
int AnopeInit (int argc, char **argv)
void my_add_languages (void)
int my_cs_appendtopic (User *u)
void my_cs_help (User *u)
int my_cs_help_appendtopic (User *u)


Define Documentation

#define AUTHOR   "SGR"

Definition at line 21 of file cs_appendtopic.c.

Referenced by AnopeInit().

#define LNG_APPENDTOPIC_SYNTAX   2

Definition at line 49 of file cs_appendtopic.c.

Referenced by my_cs_appendtopic(), and my_cs_help_appendtopic().

#define LNG_CHAN_HELP   0

Definition at line 47 of file cs_appendtopic.c.

Referenced by my_cs_help().

#define LNG_CHAN_HELP_APPENDTOPIC   1

Definition at line 48 of file cs_appendtopic.c.

Referenced by my_cs_help_appendtopic().

#define LNG_NUM_STRINGS   3

Definition at line 45 of file cs_appendtopic.c.

Referenced by my_add_languages().

#define VERSION   "$Id: cs_appendtopic.c 1322 2007-12-28 19:12:02Z geniusdex $"

Definition at line 22 of file cs_appendtopic.c.

Referenced by AnopeInit().


Function Documentation

void AnopeFini ( void   ) 

Definition at line 82 of file cs_appendtopic.c.

References alog().

int AnopeInit ( int  argc,
char **  argv 
)

Definition at line 56 of file cs_appendtopic.c.

References alog(), AUTHOR, CHANSERV, createCommand(), MOD_CONT, MOD_HEAD, MOD_STOP, moduleAddAuthor(), moduleAddCommand(), moduleAddHelp(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), my_add_languages(), my_cs_appendtopic(), my_cs_help(), my_cs_help_appendtopic(), SUPPORTED, and VERSION.

void my_add_languages ( void   ) 

Definition at line 165 of file cs_appendtopic.c.

References LANG_DE, LANG_EN_US, LANG_IT, LANG_NL, LANG_PT, LNG_NUM_STRINGS, and moduleInsertLanguage().

Referenced by AnopeInit().

int my_cs_appendtopic ( User u  ) 

Definition at line 100 of file cs_appendtopic.c.

References alog(), anope_cmd_join(), anope_cmd_mode(), anope_cmd_part(), anope_cmd_topic(), CA_TOPIC, check_access(), channel_::ci, CI_VERBOTEN, channel_::creation_time, findchan(), chaninfo_::flags, user_::host, ircd, is_services_admin(), ircdvars_::join2set, chaninfo_::last_topic, chaninfo_::last_topic_setter, chaninfo_::last_topic_time, LNG_APPENDTOPIC_SYNTAX, MOD_CONT, moduleGetLastBuffer(), moduleNoticeLang(), myStrGetToken(), myStrGetTokenRemainder(), chaninfo_::name, channel_::name, user_::nick, NICKMAX, notice_lang(), s_ChanServ, snprintf(), sstrdup(), strscpy(), channel_::topic, channel_::topic_setter, channel_::topic_time, ircdvars_::topictsbackward, user_::username, and whosends.

Referenced by AnopeInit().

void my_cs_help ( User u  ) 

Definition at line 87 of file cs_appendtopic.c.

References LNG_CHAN_HELP, moduleNoticeLang(), and s_ChanServ.

Referenced by AnopeInit().

int my_cs_help_appendtopic ( User u  ) 

Definition at line 92 of file cs_appendtopic.c.

References LNG_APPENDTOPIC_SYNTAX, LNG_CHAN_HELP_APPENDTOPIC, MOD_STOP, moduleNoticeLang(), user_::nick, notice(), and s_ChanServ.

Referenced by AnopeInit().


Generated on Sun Dec 30 09:26:57 2007 for Anope by  doxygen 1.5.1-20070107