Add deduplication precision toggle, fix printing odd characters and implement sending messages to all instances of a certain network, or all networks associated with a certain alias

This commit is contained in:
2019-08-16 21:27:23 +01:00
parent 22bd0d3ac6
commit 545282e201
5 changed files with 55 additions and 4 deletions

View File

@@ -1,11 +1,14 @@
#!/usr/bin/env python
from twisted.internet import reactor
from twisted.internet.ssl import DefaultOpenSSLContextFactory
from sys import argv
from sys import argv, stdout, stderr
#from twisted.python import log
#from sys import stdout
#log.startLogging(stdout)
from codecs import getwriter # fix printing odd shit to the terminal
stdout = getwriter("utf8")(stdout) # this is a generic fix but we all know
stderr = getwriter("utf8")(stderr) # it's just for the retards on Rizon using
# unicode quit messages for no reason
import main
main.initMain()