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":
|
case "Move":
|
||||||
obj = item
|
obj = item
|
||||||
what = "move"
|
what = "move"
|
||||||
|
case "Page":
|
||||||
|
waspage = true
|
||||||
|
fallthrough
|
||||||
case "GuessWord": // dealt with below
|
case "GuessWord": // dealt with below
|
||||||
fallthrough
|
fallthrough
|
||||||
case "Audio":
|
case "Audio":
|
||||||
|
@ -663,9 +666,6 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
case "Note":
|
case "Note":
|
||||||
fallthrough
|
fallthrough
|
||||||
case "Article":
|
case "Article":
|
||||||
fallthrough
|
|
||||||
case "Page":
|
|
||||||
waspage = true
|
|
||||||
obj = item
|
obj = item
|
||||||
what = "honk"
|
what = "honk"
|
||||||
case "Event":
|
case "Event":
|
||||||
|
|
Loading…
Reference in New Issue