Armed man detained prior to Spencer's speech