mind the fallthrough...
This commit is contained in:
parent
2cca5a2be8
commit
682e41fa3a
|
@ -650,6 +650,9 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
case "Move":
|
||||
obj = item
|
||||
what = "move"
|
||||
case "Page":
|
||||
waspage = true
|
||||
fallthrough
|
||||
case "GuessWord": // dealt with below
|
||||
fallthrough
|
||||
case "Audio":
|
||||
|
@ -663,9 +666,6 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
case "Note":
|
||||
fallthrough
|
||||
case "Article":
|
||||
fallthrough
|
||||
case "Page":
|
||||
waspage = true
|
||||
obj = item
|
||||
what = "honk"
|
||||
case "Event":
|
||||
|
|
Loading…
Reference in New Issue