aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 638039b..e1618db 100644
--- a/server.go
+++ b/server.go
@@ -60,7 +60,7 @@ func NewServer(dataFile, listenWWW, listenTLS, listenRPC string) (*Server, error
if dataFile != "" {
server.Load(dataFile)
}
- RegisterRPC(server)
+ registerRPC(server)
http.Handle("/debug/route", server)
return server, server.UpdateMux()
}