Added app name

This commit is contained in:
antony1060
2021-03-24 10:26:03 +01:00
parent 471886dd34
commit 0c17e240f4
2 changed files with 3 additions and 1 deletions

View File

@@ -127,6 +127,6 @@ func (s *Server) Throttler() *ConsoleThrottler {
func (s *Server) PublishConsoleOutputFromDaemon(data string) {
s.Events().Publish(
ConsoleOutputEvent,
colorstring.Color(fmt.Sprintf("[yellow][bold][Pterodactyl Daemon]:[default] %s", data)),
colorstring.Color(fmt.Sprintf("[yellow][bold][%s Daemon]:[default] %s", config.Get().AppName, data)),
)
}