#include "module.h"
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) |
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
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.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
The /ms set limit command.
| 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().
The /ms set notify command.
| 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.
| u | The user who is requesting help |
1.5.7.1