ns_group.c File Reference

#include "module.h"

Go to the source code of this file.

Functions

void AnopeFini (void)
int AnopeInit (int argc, char **argv)
int do_glist (User *u)
int do_group (User *u)
int do_link (User *u)
int do_listlinks (User *u)
NickAliasmakealias (const char *nick, NickCore *nc)
void myNickServHelp (User *u)


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 65 of file ns_group.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 34 of file ns_group.c.

References CORE, createCommand(), do_glist(), do_group(), do_link(), do_listlinks(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetNickHelp(), moduleSetType(), myNickServHelp(), and NICKSERV.

int do_glist ( User u  ) 

Definition at line 282 of file ns_group.c.

References nickcore_::aliases, BUFSIZE, slist_::count, nickcore_::display, findnick(), is_services_admin(), nickalias_::last_seen, slist_::list, user_::na, nickalias_::nc, nickalias_::nick, user_::nick, nick_identified(), notice_lang(), NS_NO_EXPIRE, NS_VERBOTEN, NSExpire, s_NickServ, nickalias_::status, strftime_lang(), stricmp(), and nickalias_::u.

Referenced by AnopeInit().

int do_group ( User u  ) 

The /ns group command.

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

int do_link ( User u  ) 

Definition at line 276 of file ns_group.c.

References MOD_CONT, notice_lang(), and s_NickServ.

Referenced by AnopeInit().

int do_listlinks ( User u  ) 

Definition at line 333 of file ns_group.c.

References MOD_CONT, notice_lang(), and s_NickServ.

Referenced by AnopeInit().

NickAlias * makealias ( const char *  nick,
NickCore nc 
)

Definition at line 262 of file ns_group.c.

References nickcore_::aliases, alpha_insert_alias(), nickalias_::nc, nickalias_::nick, scalloc(), slist_add(), and sstrdup().

void myNickServHelp ( User u  ) 

Add the help response to anopes /ns help output.

Parameters:
u The user who is requesting help


Generated on Sun Dec 30 09:26:56 2007 for Anope by  doxygen 1.5.1-20070107