ms_set.c File Reference

#include "module.h"

Include dependency graph for ms_set.c:

Go to the source code of this file.

Functions

int do_set (User *u)
int do_set_notify (User *u, MemoInfo *mi, char *param)
int do_set_limit (User *u, MemoInfo *mi, char *param)
void myMemoServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 59 of file ms_set.c.

int AnopeInit ( int  argc,
char **  argv 
)

Create the command, and tell anope about it.

Parameters:
argc Argument count
argv Argument list
Returns:
MOD_CONT to allow the module, MOD_STOP to stop it

Definition at line 29 of file ms_set.c.

References c, CORE, createCommand(), do_set(), Command_::help_param1, MEMOSERV, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetMemoHelp(), moduleSetType(), MSMaxMemos, and myMemoServHelp().

int do_set ( User u  ) 

The /ms set command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

int do_set_limit ( User u,
MemoInfo mi,
char *  param 
)

The /ms set limit command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

Definition at line 148 of file ms_set.c.

References CA_MEMO, check_access(), CI_MEMO_HARDMAX, CI_VERBOTEN, cs_findchan(), findnick(), nickcore_::flags, chaninfo_::flags, is_services_admin(), MemoInfo::memomax, nickcore_::memos, chaninfo_::memos, MOD_CONT, MSMaxMemos, user_::na, nickalias_::nc, NI_MEMO_HARDMAX, notice_lang(), s_MemoServ, stricmp(), and syntax_error().

int do_set_notify ( User u,
MemoInfo mi,
char *  param 
)

The /ms set notify command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

Definition at line 111 of file ms_set.c.

References nickcore_::email, nickcore_::flags, MOD_CONT, user_::na, nickalias_::nc, NI_MEMO_MAIL, NI_MEMO_RECEIVE, NI_MEMO_SIGNON, notice_lang(), s_MemoServ, stricmp(), and syntax_error().

void myMemoServHelp ( User u  ) 

Add the help response to anopes /hs help output.

Parameters:
u The user who is requesting help


Generated on Sun Oct 5 09:07:03 2008 for Anope by  doxygen 1.5.7.1