From 16c4b4166a83295e236e2d4297dd4f45ccdb1d8d Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 15 Oct 2017 12:48:10 +1000 Subject: [PATCH] Change debug files from ergonomadic -> oragono --- .gitignore | 2 ++ irc/debug.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 06b9cf19..f13997b2 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,5 @@ _testmain.go /oragono /build/* _test +oragono.prof +oragono.mprof diff --git a/irc/debug.go b/irc/debug.go index 4e523bf9..07f366ae 100644 --- a/irc/debug.go +++ b/irc/debug.go @@ -43,7 +43,7 @@ func debugHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { client.Notice(fmt.Sprintf("num goroutines: %d", count)) case "PROFILEHEAP": - profFile := "ergonomadic.mprof" + profFile := "oragono.mprof" file, err := os.Create(profFile) if err != nil { client.Notice(fmt.Sprintf("error: %s", err)) @@ -54,7 +54,7 @@ func debugHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool { client.Notice(fmt.Sprintf("written to %s", profFile)) case "STARTCPUPROFILE": - profFile := "ergonomadic.prof" + profFile := "oragono.prof" file, err := os.Create(profFile) if err != nil { client.Notice(fmt.Sprintf("error: %s", err))