#include "services.h"
#include "nickserv.h"
#include "chanserv.h"
#include "operserv.h"
#include "infoserv.h"
#include "gameserv.h"
#include "clone.h"
#include "hash.h"
#include "log.h"
#include "macro.h"
#include "interp.h"
#include "hash/md5pw.h"
Go to the source code of this file.
Defines | |
#define | SETCLR(var, flag, onoff) |
Set or clear the specified flag from the `bar' bitset. | |
Functions | |
void | listCloneAlerts (UserList *) |
Send the list of clone alerts to a user /OS TRIGGER LIST. | |
void | sendToOperServ (UserList *nick, char **args, int numargs) |
Parse an OperServ message. | |
int | userOverriding (UserList *nick) |
Is the specified user using /OS override? | |
cmd_return | os_help (UserList *nick, char **args, int numargs) |
cmd_return | os_setop (UserList *nick, char **args, int numargs) |
cmd_return | os_akill (UserList *nick, char **args, int numargs) |
cmd_return | os_tempakill (UserList *nick, char **args, int numargs) |
cmd_return | os_mode (UserList *nick, char **args, int numargs) |
cmd_return | os_raw (UserList *nick, char **args, int numargs) |
cmd_return | os_shutdown (UserList *nick, char **args, int numargs) |
cmd_return | os_reset (UserList *nick, char **args, int numargs) |
Rehash for services. Reloads the configuration. | |
cmd_return | os_jupe (UserList *nick, char **args, int numargs) |
cmd_return | os_uptime (UserList *nick, char **args, int numargs) |
cmd_return | os_timers (UserList *nick, char **args, int numargs) |
cmd_return | os_sync (UserList *nick, char **args, int numargs) |
DEBUG: Sync the disk copy of services databases. | |
cmd_return | os_clonerule (UserList *nick, char **args, int numargs) |
cmd_return | os_trigger (UserList *nick, char **args, int numargs) |
cmd_return | os_match (UserList *nick, char **args, int numargs) |
DEBUG: Match a test string. | |
cmd_return | os_cloneset (UserList *nick, char **args, int numargs) |
cmd_return | os_remsra (UserList *nick, char **args, int numargs) |
cmd_return | os_grpop (UserList *nick, char **args, int numargs) |
cmd_return | os_override (UserList *nick, char **args, int numargs) |
cmd_return | os_strike (UserList *nick, char **args, int numargs) |
Test command. | |
cmd_return | os_heal (UserList *nick, char **args, int numargs) |
cmd_return | os_nixghost (UserList *nick, char **args, int numargs) |
Variables | |
u_long | counterOldCSFmt = 0 |
Counter of number of ChanServ commands interpreted by the old hack. | |
UserList * | os_user_override = (UserList *)0 |
interp::service_cmd_t | operserv_commands [] |
OperServ command table. | |
const char * | cloneset_bits [] |
Possible clone flags. |
OperServ-related procedures and commands that effect changes to the global state of services and/or the IRC network
Max Byrd
Greg Poma
James Hess
Definition in file operserv.c.
|
Value: do { \ if (onoff) \ (var) |= (flag); \ else \ (var) &= ~(flag); \ } while (0)
Definition at line 112 of file operserv.c. |
|
Send the list of clone alerts to a user /OS TRIGGER LIST.
Definition at line 170 of file clone.c. References CLONE_ALERT, CLONE_OK, userclonestruct::clones, hostclonestruct::clones, CTime, hostclonestruct::firstUser, hostclonestruct::host, HostClone, userclonestruct::next, pending_alert::next, _userlist::nick, OperServ, pendingAlerts, sSend(), userclonestruct::trigger, hostclonestruct::trigger, userclonestruct::uflags, userclonestruct::user, and UserClone. |
|
Autokill command - for editing the network ban (akill) list Altered so that AHURTs and Services ignores, akills all fall under this one command instead of having 3 copy-pasted versions of this function that just use different names and list item flags. -Mysid Definition at line 260 of file operserv.c. |
|
String truncates here Definition at line 553 of file operserv.c. |
|
Parse an OperServ message.
Definition at line 128 of file operserv.c. References getOpFlags(), isOper(), _userlist::nick, OperServ, RET_FAIL, and sSend(). Referenced by parseLine(). |
|
Initial value: { "KILL", "IGNORE", "", "OK", NULL }
Definition at line 104 of file operserv.c. |