summaryrefslogtreecommitdiff
path: root/blavote.go
diff options
context:
space:
mode:
Diffstat (limited to 'blavote.go')
-rw-r--r--blavote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/blavote.go b/blavote.go
index 48e1ae2..5beb48c 100644
--- a/blavote.go
+++ b/blavote.go
@@ -75,7 +75,7 @@ func main() {
fmt.Println(err)
}
} else if (opts.Remove > 0) {
- deletePoll(db, opts.Remove)
+ deletePoll(db, opts.Remove, opts.Username)
if (err == nil) {
fmt.Print("Poll removed with ID ")