diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-13 08:23:01 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-13 13:07:59 +0200 |
| commit | adf59e8c6cdaf050ef9cf09301111e7429ec0c37 (patch) | |
| tree | f3b4f2e09b81417bf9bc8ec6168bf3404da974b0 /client.go | |
| parent | 242903aa810797102b14e27dda988fff7ab833cc (diff) | |
Client + Config + FSM: Simplify file names
Diffstat (limited to 'client.go')
| -rw-r--r-- | client.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,11 +90,11 @@ func (client *Client) Register( } // Initialize the FSM - client.FSM = newFSM(name, stateCallback, directory, debug) + client.FSM = newFSM(stateCallback, directory, debug) client.Debug = debug // Initialize the Config - client.Config.Init(name, directory) + client.Config.Init(directory, "state") // Try to load the previous configuration if client.Config.Load(&client) != nil { |
