summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 105bf55..0efa88f 100644
--- a/main.go
+++ b/main.go
@@ -49,6 +49,7 @@ func privmsg(room string) irc.HandlerFunc {
if tofix, ok := last[line.Nick]; ok {
fixed := re(tofix, t[1:], global)
if fixed != "" && fixed != tofix {
+ log.Println("RE", t)
fmt.Fprintf(NewNotify(conn, line.Target()), "%v meant to say: %s", line.Nick, fixed)
last[line.Nick] = fixed
}