mirror of https://github.com/velour/catbase.git
Small log fix
This commit is contained in:
parent
90b86aaf7d
commit
cfbe0dc4bc
|
@ -68,8 +68,6 @@ func (p *RememberPlugin) Message(message bot.Message) bool {
|
||||||
for i := len(p.Log[message.Channel]) - 1; i >= 0; i-- {
|
for i := len(p.Log[message.Channel]) - 1; i >= 0; i-- {
|
||||||
entry := p.Log[message.Channel][i]
|
entry := p.Log[message.Channel][i]
|
||||||
|
|
||||||
log.Println("Test entry:", entry.User.Name, entry.Body)
|
|
||||||
|
|
||||||
if strings.ToLower(entry.User.Name) == strings.ToLower(nick) &&
|
if strings.ToLower(entry.User.Name) == strings.ToLower(nick) &&
|
||||||
strings.Contains(
|
strings.Contains(
|
||||||
strings.ToLower(entry.Body),
|
strings.ToLower(entry.Body),
|
||||||
|
|
Loading…
Reference in New Issue