summaryrefslogtreecommitdiff
path: root/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands.go')
-rw-r--r--commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.go b/commands.go
index 6e68d27..da312ca 100644
--- a/commands.go
+++ b/commands.go
@@ -125,7 +125,7 @@ func init() {
func noCommand(app *App, buffer, content string) error {
// You can't send messages to home buffer, and it might get
// delivered to a user "home" without a bouncer, which will be bad.
- if buffer == "home" {
+ if buffer == Home {
return fmt.Errorf("Can't send message to home")
}