Small fixup.

This commit is contained in:
Patrick Connolly
2018-11-16 14:56:37 +08:00
parent 608f5285ce
commit 2a47b8fd40

View File

@@ -346,7 +346,7 @@ func (b *Bslack) updateTopicOrPurpose(msg *config.Message, channelInfo *slack.Ch
// handles updating topic/purpose and determining whether to further propagate update messages.
func (b *Bslack) handleTopicOrPurpose(msg *config.Message, channelInfo *slack.Channel) (bool, error) {
if msg.Event != config.EVENT_TOPIC_CHANGE {
if msg.Event != config.EventTopicChange {
return false, nil
}