ns_release.c File Reference

#include "module.h"

Include dependency graph for ns_release.c:

Go to the source code of this file.

Functions

int do_release (User *u)
void myNickServHelp (User *u)
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 48 of file ns_release.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 30 of file ns_release.c.

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

int do_release ( User u  ) 

The /ns release command.

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

Definition at line 86 of file ns_release.c.

References alog(), bad_password(), enc_check_password(), findnick(), nickcore_::flags, group_identified(), user_::host, is_on_access(), MOD_CONT, nickalias_::nc, NI_SECURE, NI_SUSPENDED, user_::nick, nickalias_::nick, notice_lang(), NS_KILL_HELD, NS_VERBOTEN, nickcore_::pass, release(), s_NickServ, nickalias_::status, syntax_error(), and user_::username.

Referenced by AnopeInit().

int myHelpResonse ( User u  ) 

Show the extended help on the RELEASE command.

Parameters:
u The user who is requesting help

void myNickServHelp ( User u  ) 

Add the help response to anopes /ns help output.

Parameters:
u The user who is requesting help


Variable Documentation

Definition at line 18 of file ns_release.c.


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