From 273b41fa3fa599977e0f2e3ed5d923514d99f20d Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 26 Aug 2012 20:33:33 -0400 Subject: [PATCH] Fixed --- bot/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/handlers.go b/bot/handlers.go index 7ffb850..10946fe 100644 --- a/bot/handlers.go +++ b/bot/handlers.go @@ -165,7 +165,7 @@ func (b *Bot) Filter(message Message, input string) string { } // Let's be bucket compatible for this var - strings.Replace(input, "$who", "$nick", -1) + input = strings.Replace(input, "$who", "$nick", -1) if strings.Contains(input, "$nick") { nick := message.User.Name input = strings.Replace(input, "$nick", nick, -1)