BarryServer : Git

All the code for all my projects
// BarryServer : Git / IRCWebHooks / commit / 3f04e2245ef9565e8e9853cac3f2114fbfdd566d / src / config.h

// Related

IRCWebHooks

Barry Adding files 3f04e22 (3 years, 3 months ago)
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..fb8f9ac
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,21 @@
+#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"
+
+/* 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
+
+#endif