diff --git a/auth.go b/auth.go index e322651..0336863 100644 --- a/auth.go +++ b/auth.go @@ -174,7 +174,5 @@ func updateAuth() os.Error { if err := auth.WriteFile(authFile, 0644, ""); err != nil { return err } - // config.WriteFile destroys the config, so - readAuth() return nil } diff --git a/goconfig b/goconfig index 5e5884d..aab4342 160000 --- a/goconfig +++ b/goconfig @@ -1 +1 @@ -Subproject commit 5e5884da67a5590d4dda8fced3c80eadb273a38c +Subproject commit aab434234dc2013280d07741da59ace459c4652d diff --git a/rbot.go b/rbot.go index 9ee852f..ac5c617 100644 --- a/rbot.go +++ b/rbot.go @@ -127,8 +127,6 @@ func updateConf(section, option, value string) { if err := conf.WriteFile(confFile, 0644, ""); err != nil { panic("Error while writing to " + confFile) } - // config.WriteFile destroys the config, so - readConf() } func identd(port string) {