summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-26 10:05:57 +0000
committerribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-26 10:05:57 +0000
commitc4cdb1fe36643447c4f04e375e48bd6165355c36 (patch)
tree4ad554dc0e8804be68d25e061bec22957418e11c /include
parent2225f58c39d004e3fac4ec38e52daeb9884727be (diff)
BUILD : 1.7.8 (641) BUGS : NOTES : Added SUSPEND and UNSUSPEND to NickServ. Also added running as root check to anoperc.
git-svn-id: svn://svn.anope.org/anope/trunk@641 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@489 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/events.h2
-rw-r--r--include/services.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/events.h b/include/events.h
index 8dc56fcbd..6fa858810 100644
--- a/include/events.h
+++ b/include/events.h
@@ -47,4 +47,6 @@
#define EVENT_SERVER_SQUIT "server_squit"
#define EVENT_SERVER_CONNECT "server_connect"
#define EVENT_DEFCON_LEVEL "defcon_level"
+#define EVENT_NICK_SUSPENDED "nick_suspended"
+#define EVENT_NICK_UNSUSPEND "nick_unsuspend"
diff --git a/include/services.h b/include/services.h
index 9a2643898..63f64f608 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1074,6 +1074,7 @@ struct session_ {
#define NS_MASTER 0x0200 /* Was a master nick; used to import old databases */
#define NS_TRANSGROUP 0xC000 /* Status flags that can be passed to a nick of the
same group during nick change */
+#define NS_SUSPENDED 0x0400 /* Nickname has been suspended */
#define NS_TEMPORARY 0xFF00 /* All temporary status flags */
/* These two are not used anymore */
#define NS_OLD_ENCRYPTEDPW 0x0001 /* Nickname password is encrypted */
@@ -1097,7 +1098,6 @@ struct session_ {
#define NI_SERVICES_ROOT 0x00008000 /* User is a Services root */
#define NI_MEMO_MAIL 0x00010000 /* User gets email on memo */
#define NI_HIDE_STATUS 0x00020000 /* Don't show services access status */
-
/* Languages. Never insert anything in the middle of this list, or
* everybody will start getting the wrong language! If you want to change
* the order the languages are displayed in for NickServ HELP SET LANGUAGE,