#include "module.h"#include "encrypt.h"
Go to the source code of this file.
Functions | |
| int | do_set (User *u) |
| int | do_set_display (User *u, NickCore *nc, char *param) |
| int | do_set_password (User *u, NickCore *nc, char *param) |
| int | do_set_language (User *u, NickCore *nc, char *param) |
| int | do_set_url (User *u, NickCore *nc, char *param) |
| int | do_set_email (User *u, NickCore *nc, char *param) |
| int | do_set_greet (User *u, NickCore *nc, char *param) |
| int | do_set_icq (User *u, NickCore *nc, char *param) |
| int | do_set_kill (User *u, NickCore *nc, char *param) |
| int | do_set_secure (User *u, NickCore *nc, char *param) |
| int | do_set_private (User *u, NickCore *nc, char *param) |
| int | do_set_msg (User *u, NickCore *nc, char *param) |
| int | do_set_hide (User *u, NickCore *nc, char *param) |
| int | do_set_autoop (User *u, NickCore *nc, char *param) |
| void | myNickServHelp (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 41 of file ns_set.c.
References c, CORE, createCommand(), do_set(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetNickHelp(), moduleSetType(), myNickServHelp(), and NICKSERV.
| int do_set | ( | User * | u | ) |
The /ns set command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
This works the other way around, the absence of this flag denotes ON This is so when people upgrade, and dont have the flag the default is on
Definition at line 463 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_AUTOOP, notice_lang(), s_NickServ, stricmp(), and syntax_error().
Definition at line 174 of file ns_set.c.
References nickcore_::aliases, change_core_display(), slist_::count, nickcore_::display, slist_::list, MOD_CONT, nickalias_::nick, notice_lang(), NSNickTracking, nsStartNickTracking(), s_NickServ, and stricmp().
Definition at line 281 of file ns_set.c.
References alog(), nickcore_::email, user_::host, MailValidate(), MOD_CONT, user_::nick, notice_lang(), NSForceEmail, s_NickServ, sstrdup(), and user_::username.
Definition at line 325 of file ns_set.c.
References BUFSIZE, nickcore_::greet, MOD_CONT, notice_lang(), s_NickServ, snprintf(), and sstrdup().
Definition at line 423 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_HIDE_EMAIL, NI_HIDE_MASK, NI_HIDE_QUIT, NI_HIDE_STATUS, notice_lang(), s_NickServ, stricmp(), and syntax_error().
Definition at line 308 of file ns_set.c.
References nickcore_::icq, MOD_CONT, notice_lang(), and s_NickServ.
Definition at line 346 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_KILL_IMMED, NI_KILL_QUICK, NI_KILLPROTECT, notice_lang(), NSAllowKillImmed, s_NickServ, stricmp(), and syntax_error().
Definition at line 246 of file ns_set.c.
References langlist, nickcore_::language, MOD_CONT, notice_lang(), NUM_LANGS, s_NickServ, strspn(), and syntax_error().
Definition at line 404 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_MSG, notice_lang(), s_NickServ, stricmp(), syntax_error(), and UsePrivmsg.
Definition at line 203 of file ns_set.c.
References alog(), nickcore_::display, nickcore_::email, enc_decrypt(), enc_encrypt(), user_::host, MOD_CONT, user_::nick, notice_lang(), nickcore_::pass, PASSMAX, s_NickServ, smalloc(), stricmp(), StrictPasswords, and user_::username.
Definition at line 389 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_PRIVATE, notice_lang(), s_NickServ, stricmp(), and syntax_error().
Definition at line 375 of file ns_set.c.
References nickcore_::flags, MOD_CONT, NI_SECURE, notice_lang(), s_NickServ, stricmp(), and syntax_error().
Definition at line 266 of file ns_set.c.
References MOD_CONT, notice_lang(), s_NickServ, sstrdup(), and nickcore_::url.
| void myNickServHelp | ( | User * | u | ) |
Add the help response to anopes /ns help output.
| u | The user who is requesting help |
1.5.7.1