summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/main.go4
-rw-r--r--src/lib.go16
2 files changed, 10 insertions, 10 deletions
diff --git a/src/cmd/main.go b/src/cmd/main.go
index 2f78c4d..8e80599 100644
--- a/src/cmd/main.go
+++ b/src/cmd/main.go
@@ -1,7 +1,7 @@
package main
-import "euandre.org/papo/src"
+import "euandre.org/papod/src"
func main() {
- papo.Main()
+ papod.Main()
}
diff --git a/src/lib.go b/src/lib.go
index 8b41da0..cc4b2ea 100644
--- a/src/lib.go
+++ b/src/lib.go
@@ -1,4 +1,4 @@
-package papo
+package papod
import (
"bufio"
@@ -259,14 +259,14 @@ func SetHostname() {
}
func SetEnvironmentVariables() {
- Version = os.Getenv("PAPO_VERSION")
+ Version = os.Getenv("PAPOD_VERSION")
if Version == "" {
- Version = "PAPO-VERSION-UNKNOWN"
+ Version = "PAPOD-VERSION-UNKNOWN"
}
- Colour = os.Getenv("PAPO_COLOUR")
+ Colour = os.Getenv("PAPOD_COLOUR")
if Colour == "" {
- Colour = "PAPO-COLOUR-UNKNOWN"
+ Colour = "PAPOD-COLOUR-UNKNOWN"
}
}
@@ -324,17 +324,17 @@ func BuildContext(databasePath string) *Context {
var (
databasePath = flag.String(
"f",
- "papo.db",
+ "papod.db",
"The path to the database file",
)
publicSocketPath = flag.String(
"s",
- "papo.public.socket",
+ "papod.public.socket",
"The path to the socket that handles the public traffic",
)
commandSocketPath = flag.String(
"S",
- "papo.command.socket",
+ "papod.command.socket",
"The path to the private IPC commands socket",
)
)