Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I'm stupid.

  • Loading branch information...
commit a7973bbfda26b9eab95a6ccd2ec1a73508e113a2 1 parent 2da68a7
@Raynes Raynes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/sexpbot/plugins/mail.clj
View
2  src/sexpbot/plugins/mail.clj
@@ -37,7 +37,7 @@
(let [lower-sender (.toLowerCase sender)
nmess (count-messages lower-sender)]
(when (and (> nmess 0) (alert-time? lower-sender))
- (.sendNotice sender channel (str sender ": You have " nmess
+ (.sendNotice bot sender (str sender ": You have " nmess
" new message(s). Type $getmessages (in PM if you want) to see them."))
(dosync (alter alerted assoc lower-sender (now))))))
Please sign in to comment.
Something went wrong with that request. Please try again.