Go to the source code of this file.
#define NYM_IS_ALLOWED |
( |
|
SZ_NYM_ID, |
|
|
|
BOOL_VAR_NAME |
|
) |
| |
Value:((BOOL_VAR_NAME) || \
((ServerSettings::GetOverrideNymID().size() > 0) && \
(0 == ServerSettings::GetOverrideNymID().compare((SZ_NYM_ID)))))
Definition at line 146 of file Macros.hpp.
#define OT_ENFORCE_PERMISSION_MSG |
( |
|
BOOL_VAR_NAME | ) |
|
Value:{ \
const char* pNymAllowedIDStr = theMessage.m_strNymID.Get(); \
const char* pActionNameStr = theMessage.m_strCommand.Get(); \
\
OTLog::vOutput(0, "Nym %s attempted an action (%s), but based on " \
"server configuration, he's not allowed.\n", \
pNymAllowedIDStr, pActionNameStr); \
return false; \
} \
}
#define NYM_IS_ALLOWED(SZ_NYM_ID, BOOL_VAR_NAME)
Definition at line 151 of file Macros.hpp.