diff --git a/plugins/remember.go b/plugins/remember.go index 1c04cd9..e9aa0f0 100644 --- a/plugins/remember.go +++ b/plugins/remember.go @@ -1,8 +1,8 @@ package plugins import ( - "github.com/chrissexton/alepale/bot" "fmt" + "github.com/chrissexton/alepale/bot" "labix.org/v2/mgo" "labix.org/v2/mgo/bson" "math/rand" @@ -53,12 +53,6 @@ func (p *RememberPlugin) Message(message bot.Message) bool { nick := parts[1] snip := strings.Join(parts[2:], " ") - if nick == user.Name { - msg := fmt.Sprintf("Don't try to quote yourself, %s.", nick) - p.Bot.SendMessage(message.Channel, msg) - return true - } - for i := len(p.Log[message.Channel]) - 1; i >= 0; i-- { entry := p.Log[message.Channel][i] if entry.User.Name == nick && strings.Contains(entry.Body, snip) {