Without looking at it, I'd guess the hard plastic bit that fits into the rubber "boot" of the signal is missing.
In the diagram linked above, it's part 18, Flasher Stay. If that's missing, you can stick the signal back into it's space, but it won't stay when riding.
This is my signature. Woo.
Hit me up on Instagram, look at my terrible pics: motomatt_r3