Skip to content

Instantly share code, notes, and snippets.

@alyx
Created January 14, 2014 03:18
Show Gist options
  • Save alyx/8412448 to your computer and use it in GitHub Desktop.
Save alyx/8412448 to your computer and use it in GitHub Desktop.
#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
#include "valkyrie.h"
#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