/*
 * settings.h
 * (C) Peter Salanki 2002
 * This program is copyright, and covered by the Gnu Public License.
 * The Natasha bot.
 * sorcer@linux.se
 */

#include "version.h"

/* Must be configured */
#define MYSQL_SERVER "127.0.0.1"
#define MYSQL_USER "root"
#define MYSQL_PASS "somepass"
#define MYSQL_DB "natasha"
#define MYSQL_LOGSERVER "127.0.0.1"
#define MYSQL_LOGUSER "root"
#define MYSQL_LOGPASS "somepass"
#define MYSQL_LOGDB "natasha"
#define BOTHOUSE "Bots.SE"
#define HOMECHAN "#bots.se.dev"
#define PUBCHAN  "#bots.se.dev"
#define SID "1" // The service id
#define STATSADDR "http://mysite/natasha/stats.php"
#define LOGADDR "http://mysite/natasha/log.php"
#define SERVER "se.quakenet.org" // The sever/RR to connect to
#define DEFAULT_VHOST "natasha.bots.rock.bothouse.com" // The default virtualhost that arms will connect from (only applicable if OUTGOING_VHOST is enabled)
#define USERNAME "natasha" // The username to set if IDENT is not enabled

#define DEBUG /* Debug mode */
 #define Q /* Auth with Q */
#define L /* Lightweight support */
// #define SPAMSCAN /* SpamScan support */
#define CNOTICE /* ircu CNOTICE support */
#define SKIPMOTD /* Skip the server motd (Debug mode option) */
#define MAIN /* Main service (has +o in homechan and in public) */
// #define OUTGOING_VHOST /* Outgoing connection virtual hosting */
// #define SAFEHOME /* Keep homechan clean of unauthorized people */

/* Definitions for Stats */
#define MYSQL_STATSDB "natashastats"
#define STATS_UPDATE_TIME 1 // The time (in hours) between each stats update and log fetch.
#define MYSQL_STATSSERVER "127.0.0.1"
#define MYSQL_STATSUSER "root"
#define MYSQL_STATSPASS "someleetpass"
#define PISG "pisg-0.41/"
#define NETWORK "Quakenet"

/* Definitions for Q */
#ifdef Q
#define Q_AUTOAUTH // Auth users using their Q auths 
#define Q_NICK "Q"
#ifdef L
#define L_NICK "L"
#endif
#define Q_HOST "CServe.quakenet.org"
#define Q_EMAIL "my@emsail.com"
#define Q_PASS "someellitepass"
#endif
#ifdef SPAMSCAN
#define SPAMWAIT 120 // Time to wait for next spam to channel with spamscan
#define SPAMSCANNICK "S"
#endif


/* Should probably not be changed */
#define CHECK_TIME 20 // Time between standard stuff
#define UEXPIRE 10800 // Time before an activeuser user expires (Recommended: 3 hours (10800 seconds)
#define LINESBEFORESAVE 100 // Number of log entries before log flush
#define MAXCHANS 20 // Maximum number of channels that one arm can be on
#define RECONFREQ 50 // Try to reconnect after x seconds
#define REJOINFREQ 120 // Rejoin channels after 120s
#define EXCESSRESET 20 // Reset the excess flood counter after x seconds.
#define RECHECKTIME 600 // Recheck the Q auth status on joined users after 10 mins
#define LEASTINHOME 2 // Least level that has access to homechan
#define SECURETIME 1000 // Change channel key every X second
#define KEYLEN 11 // Length of safehome channel key
#define NICKLEN 16
#define STRNICKLEN "16"
#define HOSTLEN 63
#define STRHOSTLEN "63"
#define TOPICLEN 260
#define USERLEN 11
#define CHANNELLEN 200
#define STRCHANNELLEN "200"
#define BANLEN NICKLEN+USERLEN+HOSTLEN+4
#define IRCPORT 6667
#define MYSQL_PORT 3306
#define LOGMYSQL_PORT 3306
#define MAX_NETDATA 512
#define MAX_ARGS 70
#define MAX_QUERY 512
