Use the natural panel event names

This commit is contained in:
DaneEveritt 2022-07-09 17:52:59 -04:00
parent ed330fa6be
commit dda7d10d37
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -13,10 +13,10 @@ import (
type Event string
type ActivityMeta map[string]interface{}
const ActivityPowerPrefix = "power_"
const ActivityPowerPrefix = "server:power."
const (
ActivityConsoleCommand = Event("console_command")
ActivityConsoleCommand = Event("server:console.command")
)
var ipTrimRegex = regexp.MustCompile(`(:\d*)?$`)