summaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
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 {