Created
January 14, 2014 03:18
-
-
Save alyx/8412448 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MODE_H | |
#define MODE_H | |
static struct cmode_ mode_list[] = { | |
{ 'i', CMODE_INVITE }, | |
{ 'm', CMODE_MOD }, | |
{ 'n', CMODE_NOEXT }, | |
{ 'p', CMODE_PRIV }, | |
{ 's', CMODE_SEC }, | |
{ 't', CMODE_TOPIC }, | |
{ 'r', CMODE_REGONLY}, | |
{ 'z', CMODE_OPMOD }, | |
{ 'g', CMODE_FINVITE}, | |
{ 'L', CMODE_EXLIMIT}, | |
{ 'P', CMODE_PERM }, | |
{ 'F', CMODE_FTARGET}, | |
{ 'Q', CMODE_DISFWD }, | |
/* following modes are added as extensions */ | |
{ 'N', CMODE_NPC }, | |
{ 'S', CMODE_SSLONLY }, | |
{ 'O', CMODE_OPERONLY }, | |
{ 'A', CMODE_ADMINONLY }, | |
{ 'c', CMODE_NOCOLOR }, | |
{ 'C', CMODE_NOCTCP }, | |
{ '\0', 0 } | |
}; | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "valkyrie.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef VALKYRIE_H | |
#define VALKYRIE_H | |
#include "users.h" | |
#include "channels.h" | |
#include "mode.h" | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment