Implement defaults
This commit is contained in:
parent
2ef3782c6d
commit
d1fbbe0e2a
|
@ -7,6 +7,11 @@
|
||||||
"UsePassword": true,
|
"UsePassword": true,
|
||||||
"ConnectOnCreate": false,
|
"ConnectOnCreate": false,
|
||||||
"Password": "s",
|
"Password": "s",
|
||||||
|
"Default": {
|
||||||
|
"password": null,
|
||||||
|
"username": null,
|
||||||
|
"authtype": null,
|
||||||
|
},
|
||||||
"Keywords": [],
|
"Keywords": [],
|
||||||
"Master": []
|
"Master": []
|
||||||
}
|
}
|
||||||
|
|
|
@ -583,14 +583,14 @@ class Helper(object):
|
||||||
"bind": None,
|
"bind": None,
|
||||||
"timeout": 30,
|
"timeout": 30,
|
||||||
"nickname": spl[5],
|
"nickname": spl[5],
|
||||||
"username": None,
|
"username": config["Default"]["username"],
|
||||||
"realname": None,
|
"realname": None,
|
||||||
"userinfo": None,
|
"userinfo": None,
|
||||||
"finger": None,
|
"finger": None,
|
||||||
"version": None,
|
"version": None,
|
||||||
"source": None,
|
"source": None,
|
||||||
"authtype": None,
|
"authtype": config["Default"]["authtype"],
|
||||||
"password": None,
|
"password": config["Default"]["password"],
|
||||||
"authentity": "NickServ",
|
"authentity": "NickServ",
|
||||||
"key": config["ListenerKey"],
|
"key": config["ListenerKey"],
|
||||||
"certificate": config["ListenerCertificate"],
|
"certificate": config["ListenerCertificate"],
|
||||||
|
|
Loading…
Reference in New Issue