Skip to content

Instantly share code, notes, and snippets.

@lclarkmichalek
Created January 19, 2011 21:03
Show Gist options
  • Save lclarkmichalek/786863 to your computer and use it in GitHub Desktop.
Save lclarkmichalek/786863 to your computer and use it in GitHub Desktop.
struct Config
{
bool good_config;
bool spew;
std::string spew_channel;
std::string admin_channel;
std::string irc_server;
int irc_port;
std::string irc_username;
std::string irc_nickname;
//names of admins on irc
std::vector<std::string> admins_irc;
//names of admins on minecraft
std::vector<std::string> admins_minecraft;
//commands from minecraft -> irc
std::string m_notice_command;
std::string m_talk_command;
std::map<std::string, std::string> m_command_aliases;
//commands from irc -> minecraft
std::string i_notice_command;
std::string i_talk_command;
//not supported currently
std::string i_execute_command;
std::map<std::string, std::string> i_command_aliases;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment