mirror of
https://github.com/anope/anope.git
synced 2026-06-30 08:56:37 +02:00
NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -534,7 +534,7 @@ E int langlist[NUM_LANGS];
|
||||
|
||||
E void lang_init();
|
||||
#define getstring(na,index) \
|
||||
(langtexts[((na) && (static_cast<NickAlias *>(na))->nc && !((static_cast<NickAlias *>(na))->status & NS_VERBOTEN) ? (static_cast<NickAlias *>(na))->nc->language : NSDefLanguage)][(index)])
|
||||
(langtexts[((na) && (static_cast<NickAlias *>(na))->nc && !((static_cast<NickAlias *>(na))->status & NS_FORBIDDEN) ? (static_cast<NickAlias *>(na))->nc->language : NSDefLanguage)][(index)])
|
||||
#define getstring2(nc,index) \
|
||||
(langtexts[((nc) ? (static_cast<NickCore *>(nc))->language : NSDefLanguage)][(index)])
|
||||
E int strftime_lang(char *buf, int size, User * u, int format,
|
||||
|
||||
+3
-3
@@ -678,7 +678,7 @@ struct badword_ {
|
||||
/* Don't allow any privileges unless a user is IDENTIFY'd with NickServ */
|
||||
#define CI_SECURE 0x00000040
|
||||
/* Don't allow the channel to be registered or used */
|
||||
#define CI_VERBOTEN 0x00000080
|
||||
#define CI_FORBIDDEN 0x00000080
|
||||
/* Channel password is encrypted */
|
||||
#define CI_ENCRYPTEDPW 0x00000100
|
||||
/* Channel does not expire */
|
||||
@@ -1092,7 +1092,7 @@ typedef struct ircd_modes_ {
|
||||
#define MF_NOTIFYS 0x0004 /* Memo is a notification of receitp */
|
||||
|
||||
/* Nickname status flags: */
|
||||
#define NS_VERBOTEN 0x0002 /* Nick may not be registered or used */
|
||||
#define NS_FORBIDDEN 0x0002 /* Nick may not be registered or used */
|
||||
#define NS_NO_EXPIRE 0x0004 /* Nick never expires */
|
||||
#define NS_IDENTIFIED 0x8000 /* User has IDENTIFY'd */
|
||||
#define NS_RECOGNIZED 0x4000 /* ON_ACCESS true && SECURE flag not set */
|
||||
@@ -1134,7 +1134,7 @@ typedef struct ircd_modes_ {
|
||||
#define NI_AUTOOP 0x00080000 /* Autoop nickname in channels */
|
||||
#define NI_NOEXPIRE 0x00100000 /* nicks in this group won't expire */
|
||||
|
||||
// Old NS_VERBOTEN, very fucking temporary.
|
||||
// Old NS_FORBIDDEN, very fucking temporary.
|
||||
#define NI_FORBIDDEN 0x80000000
|
||||
|
||||
/* Languages. Never insert anything in the middle of this list, or
|
||||
|
||||
Reference in New Issue
Block a user