summaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-13 08:23:01 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-13 13:07:59 +0200
commitadf59e8c6cdaf050ef9cf09301111e7429ec0c37 (patch)
treef3b4f2e09b81417bf9bc8ec6168bf3404da974b0 /client.go
parent242903aa810797102b14e27dda988fff7ab833cc (diff)
Client + Config + FSM: Simplify file names
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 6aa9a3a..ffa8802 100644
--- a/client.go
+++ b/client.go
@@ -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 {