#include "module.h"
Go to the source code of this file.
Functions | |
| static int | do_recover (User *u) |
| static void | myNickServHelp (User *u) |
| static int | myHelpResonse (User *u) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
Variables | |
| Command * | c |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 47 of file ns_recover.c.
| 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 ns_recover.c.
References CORE, createCommand(), do_recover(), MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddHelp(), moduleAddVersion(), moduleSetNickHelp(), moduleSetType(), myHelpResonse(), myNickServHelp(), and NICKSERV.
| static int do_recover | ( | User * | u | ) | [static] |
The /ns recover command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 83 of file ns_recover.c.
References alog(), bad_password(), collide(), duration(), enc_check_password(), EVENT_NICK_RECOVERED, EVENT_START, EVENT_STOP, finduser(), nickcore_::flags, group_identified(), user_::host, is_on_access(), user_::na, nickalias_::nc, NI_SECURE, NI_SUSPENDED, user_::nick, nickalias_::nick, notice_lang(), NS_VERBOTEN, NSReleaseTimeout, nickcore_::pass, s_NickServ, send_event(), nickalias_::status, stricmp(), syntax_error(), and user_::username.
Referenced by AnopeInit().
| static int myHelpResonse | ( | User * | u | ) | [static] |
Show the extended help on the RECOVER command.
| u | The user who is requesting help |
Definition at line 65 of file ns_recover.c.
References do_help_limited(), duration(), user_::na, notice_help(), NSReleaseTimeout, and s_NickServ.
Referenced by AnopeInit().
| static void myNickServHelp | ( | User * | u | ) | [static] |
Add the help response to anopes /ns help output.
| u | The user who is requesting help |
Definition at line 56 of file ns_recover.c.
References notice_lang(), and s_NickServ.
Referenced by AnopeInit().
Definition at line 17 of file ns_recover.c.
Referenced by addMessageList(), Ano_MD5Transform(), anope_event_bmask(), anope_event_fmode(), anope_event_tburst(), anope_event_topic(), AnopeFini(), AnopeInit(), botchanmsgs(), buffered_read_one(), chan_create(), check_kick(), createCommand(), delBan(), delete_user(), do_akick(), do_ban(), do_chankill(), do_chanlist(), do_clear(), do_clearmodes(), do_cs_kick(), do_cs_topic(), do_deowner(), do_forbid(), do_invite(), do_join(), do_kick(), do_mass_mode(), do_match_wild(), do_os_kick(), do_os_mode(), do_owner(), do_part(), do_register(), do_set(), do_setmodes(), do_sjoin(), do_suspend(), do_svsnick(), do_tban(), do_topic(), do_unban(), do_userlist(), do_util(), findchan(), help_cmd(), inspircd_cmd_mode(), is_identified(), join_user_update(), load_bs_dbase(), load_cs_dbase(), load_hs_dbase_v1(), load_hs_dbase_v2(), load_hs_dbase_v3(), load_ns_dbase(), load_ns_req_db(), load_old_ns_dbase(), lookup_cmd(), main(), MD5Transform(), memo_send_from(), mod_help_cmd(), mod_run_cmd(), moduleAddOperServCmds(), moduleDelCommand(), my_cs_appendtopic(), my_cs_enforce(), my_event_addcommand(), mystricmp(), parse_line(), prepForUnload(), read_int32(), read_ptr(), record_topic(), reload_config(), restore_topic(), restore_unsynced_topics(), run_cmd(), SHA1Transform(), showModuleCmdLoaded(), smtp_set_to(), sqline(), stricmp(), strip(), and strnicmp().
1.7.1