BarryServer : Git

All the code for all my projects
// BarryServer : Git / IRCWebHooks / blob / 17a841ff7bffdef707cfecd25a0a2379aaa1fe6d / src / config.h

// Related

IRCWebHooks

Barry Adding non-SSL IRC option e15b4c0 (3 years, 3 months ago)
#ifndef CONFIG_H
#define CONFIG_H

//#define VERBOSE 1

/* IRC settings */
#define NICK "webhook"
#define PASS "password" // Leave undefined if no password
#define CHAN "#webhooks" // Comma separated list
#define HOST "irc.rizon.net"
#define PORT "6697"
#define SSL_IRC 1 // Leave undefined for unencrypted IRC

/* Admin settings */
#define ADMIN_IDENT "~Barry" // Comma separated list
#define ADMIN_VHOST "barryserver.net" // Comma separated list

/* Web server settings */
#define WEB_PORT 8080
#define SSL_SERVER 1 // Leave undefined for HTTP
#define WEB_AUTH "user:password" // Leave undefined for none

#endif