Compare commits
2 Commits
ab92441200
...
89ed59a9c7
Author | SHA1 | Date | |
---|---|---|---|
89ed59a9c7 | |||
d06e724f06 |
@ -40,7 +40,6 @@ func (w *WatIntegration) Bot(m *irc.Message) (bool, []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (w *WatIntegration) HandleIntegration(m *irc.Message, msgargs []string) bool {
|
func (w *WatIntegration) HandleIntegration(m *irc.Message, msgargs []string) bool {
|
||||||
|
|
||||||
isBot, games := w.Bot(m)
|
isBot, games := w.Bot(m)
|
||||||
if isBot {
|
if isBot {
|
||||||
// handles a message "Top finishers: (nick1: 1300) (nick2: 1200)" from an authorized Jeopardy game bot
|
// handles a message "Top finishers: (nick1: 1300) (nick2: 1200)" from an authorized Jeopardy game bot
|
||||||
@ -49,7 +48,6 @@ func (w *WatIntegration) HandleIntegration(m *irc.Message, msgargs []string) boo
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// not an authorized bot or no integration matched the given message
|
// not an authorized bot or no integration matched the given message
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user