File: err.h

package info (click to toggle)
hybserv 1.9.2-4.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,852 kB
  • ctags: 1,854
  • sloc: ansic: 37,037; sh: 3,178; makefile: 337
file content (42 lines) | stat: -rw-r--r-- 1,198 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * err.h
 * Hybserv2 Services by Hybserv2 team
 *
 * $Id: err.h 1141 2005-08-03 19:56:12Z kreator $
 */

#ifndef INCLUDED_err_h
#define INCLUDED_err_h

#include "stdinc.h"
#include "config.h"

#define ERR_NOPRIVS "No privileges"

/* NickServ error messages */
#define ERR_NOT_YOUR_NICK \
  "This nickname is owned by someone else"
#define ERR_NEED_IDENTIFY \
  "If this is your nickname, type /msg %s \002IDENTIFY\002 <password>"
#define ERR_MUST_CHANGE \
  "Please \002IDENTIFY\002 within one minute or you will be disconnected"
#define ERR_MUST_CHANGE2 \
  "Please \002IDENTIFY\002 within one minute or your nickname will be changed"
#define ERR_NOT_REGGED \
  "The nickname [\002%s\002] is not registered"
#define ERR_MORE_INFO \
  "Type \002/msg %s HELP %s\002 for more information"
#define ERR_BAD_PASS \
  "Password Incorrect"
#define ERR_NO_HELP \
  "No help available on \002%s %s\002"
#define ERR_NOT_LINKED \
  "The nickname [\002%s\002] is not linked"

/* ChanServ error messages */
#define ERR_CH_NOT_REGGED \
  "The channel [\002%s\002] is not registered"
#define ERR_NEED_ACCESS \
  "An access level of [\002%d\002] is required for [\002%s\002] on %s"

#endif /* INCLUDED_err_h */