check /etc/nunbot
This commit is contained in:
parent
81ab20e2fa
commit
671b2f8a43
5
main.go
5
main.go
@ -20,7 +20,10 @@ var GitCommit string
|
||||
func main() {
|
||||
conf, err := mbl.LoadMatrixClientConfig("config.yaml")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
conf, err = mbl.LoadMatrixClientConfig("/etc/config.yaml")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
store := mbl.NewLazyMemStore(conf.Statefile)
|
||||
matrixClient, err := mbl.NewMatrixClient(conf, store)
|
||||
|
Loading…
Reference in New Issue
Block a user