From 39311dfbe60d1af66b6efd1edc3fede818136b0e Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 12 Sep 2010 21:27:14 +0200 Subject: [PATCH] make note plugin pm notes --- plugins/note.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/note.rb b/plugins/note.rb index 0a7289c..2033dbe 100644 --- a/plugins/note.rb +++ b/plugins/note.rb @@ -15,7 +15,7 @@ def initialize(*args) def listen(m) if @notes.key?(m.user.nick) && @notes[m.user.nick].size > 0 - m.reply "#{m.user.nick}: You have notes type !getnotes to retrieve them." + m.reply "#{m.user.nick}: You have notes, type !getnotes to retrieve them." end end @@ -27,7 +27,7 @@ def execute(m, nick, note) def execute_getnotes(m) if @notes.key?(m.user.nick) while note = @notes[m.user.nick].shift - m.reply note.to_s + bot.msg m.user.nick, note.to_s end @notes[m.user.nick] = [] else