19 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
20 |
|
* USA |
21 |
|
* |
22 |
< |
* $Id: m_error.c 33 2005-10-02 20:50:00Z knight $ |
22 |
> |
* $Id$ |
23 |
|
*/ |
24 |
|
|
25 |
|
#include "stdinc.h" |
26 |
|
#include "handlers.h" |
27 |
|
#include "client.h" |
28 |
– |
#include "common.h" /* FALSE */ |
28 |
|
#include "ircd.h" |
29 |
|
#include "send.h" |
30 |
|
#include "msg.h" |
32 |
– |
#include "memory.h" |
31 |
|
#include "modules.h" |
32 |
|
#include "s_log.h" |
33 |
|
|
40 |
|
{ m_error, m_ignore, ms_error, m_ignore, m_ignore, m_ignore } |
41 |
|
}; |
42 |
|
|
43 |
+ |
void |
44 |
+ |
_modinit(void) |
45 |
+ |
{ |
46 |
+ |
mod_add_cmd(&error_msgtab); |
47 |
+ |
} |
48 |
+ |
|
49 |
+ |
void |
50 |
+ |
_moddeinit(void) |
51 |
+ |
{ |
52 |
+ |
mod_del_cmd(&error_msgtab); |
53 |
+ |
} |
54 |
+ |
|
55 |
+ |
const char *_version = "$Revision$"; |
56 |
+ |
|
57 |
|
/* |
58 |
|
* Note: At least at protocol level ERROR has only one parameter. |
59 |
|
* --msa |