- #!/usr/bin/python3
- from fileread import fileload
- import dataset
- DebugLVL = 442
- HOST = fileload('conf/host')
- PORT = int(fileload('conf/port'))
- NICK = fileload('conf/nick')
- REALNAME = fileload('conf/realname')
- SERVICES_PW = fileload('conf/pw')
- NETNAME = fileload('conf/net')
- SERVICES_HOSTMASK = fileload('conf/services')
- tls = fileload('conf/port') == '6697'
- db = dataset.connect('sqlite:///conf/database.db')
|