Update znc-config.json path

This commit is contained in:
deepend-tildeclub 2021-12-28 15:24:36 -07:00 committed by GitHub
parent 9149107387
commit 2c021605a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ def loadconf(cfgfile):
def send(msg):
s.send(f"{msg}\n".encode('utf-8'))
cfg = loadconf("znc-config.json")
cfg = loadconf("/root/.znc-conf/znc-config.json")
readbuffer=""
s = socket.socket()