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

Go to the source code of this file.

Functions

static int do_raw (User *u)
 
int AnopeInit (int argc, char **argv)
 
void AnopeFini (void)
 

Function Documentation

void AnopeFini ( void  )

Unload the module

Definition at line 47 of file os_raw.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 25 of file os_raw.c.

References alog(), c, createCommand(), DisableRaw, do_raw(), is_services_root(), MOD_CONT, MOD_STOP, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetType(), OPERSERV, and THIRD.

static int do_raw ( User u)
static

The /os raw command.

Parameters
uThe user who issued the command
MOD_CONTto continue processing other modules, MOD_STOP to stop processing.

Definition at line 58 of file os_raw.c.

References alog(), anope_cmd_global(), MOD_CONT, user_::nick, s_OperServ, send_cmd(), syntax_error(), and WallOSRaw.

Referenced by AnopeInit().