/* * settings.h * (C) Peter Salanki 2004 * This program is copyright, and covered by the Gnu Public License. * The Natasha bot. * sorcer@linux.se */ #ifndef INCLUDED_settings_h #define INCLUDED_settings_h #include "version.h" /* Must be configured */ #define MYSQL_SERVER "127.0.0.1" #define MYSQL_USER "root" #define MYSQL_PASS "MyPassWord" #define MYSQL_DB "natasha" #define MYSQL_LOGSERVER "127.0.0.1" #define MYSQL_LOGUSER "root" #define MYSQL_LOGPASS "thomas" #define MYSQL_LOGDB "natasha" #define BOTHOUSE "Bots.SE" #define HOMECHAN "#bots.se.dev" #define PUBCHAN "#bots.se" #define SID "1" // The service id #define STATSADDR "http://home.sorcer.cc/natasha/stats.php" #define LOGADDR "http://home.sorcer.cc/natasha/log.php" #define CHANINFOADDR "http://home.sorcer.cc/natasha/chaninfo.php" #define GOOGLEADDR "http://my.homepage.com/natasha/google/search.php" #define SERVER "se.quakenet.org" // #define DEFAULT_VHOST "192.168.0.21" // The default virtualhost that arms will connect from (only applicable if OUTGOING_VHOST is defined) #define USERNAME "natasha" // The username to set if IDENT is not enabled #define FROMEMAIL "natasha@sorcer.cc" // E-Mail address to have in the From field in outgoing emails. // #define LOGALL "/mnt/scsi-files/sniff/all-natasha-dev" // Log everything that heappens on all channels to this file #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 */ // #define NBNC /* Natasha connection bouncer */ #define UMODE_x /* Enable usermode +x */ // #define PAY_STATS /* Pay for stats */ #ifdef UMODE_x #define UMODE_x_hostappend ".users.quakenet.org" #endif /* Modules - Define for built in module support code. */ #define MODULE_puffnotes /* puffNotes module, reminders and such */ /* 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 "MyPassWord" #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_PASS "MyQaUth" #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 MAXACTIVEIDLE 600 // Max idle time for an active staff member #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 EMAILLEN 200 #define BANLEN NICKLEN+USERLEN+HOSTLEN+4 #define IRCPORT 6667 #define MYSQLDB_PORT 3306 #define LOGMYSQL_PORT 3306 #define MAX_NETDATA 512 #define MAX_ARGS 70 #define MAX_QUERY 512 #endif /* INCLUDED_settings_h */