Anope IRC Services  Version 1.8
Functions | Variables
ns_recover.c File Reference
#include "module.h"
Include dependency graph for ns_recover.c:

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

Commandc
 

Function Documentation

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.

Parameters
argcArgument count
argvArgument list
Returns
MOD_CONT to allow the module, MOD_STOP to stop it

Definition at line 29 of file ns_recover.c.

References CORE, createCommand(), do_recover(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddHelp(), moduleAddVersion(), moduleSetNickHelp(), moduleSetType(), myHelpResonse(), myNickServHelp(), and NICKSERV.

static int do_recover ( User u)
static
static int myHelpResonse ( User u)
static

Show the extended help on the RECOVER command.

Parameters
uThe user who is requesting help

Definition at line 65 of file ns_recover.c.

References do_help_limited(), duration(), MOD_CONT, 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.

Parameters
uThe user who is requesting help

Definition at line 56 of file ns_recover.c.

References notice_lang(), and s_NickServ.

Referenced by AnopeInit().

Variable Documentation

Command* c