summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-09-24 18:17:03 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-09-24 18:17:03 +0200
commit6540f612f912ea89b2b3b2842d8103a49a0c514b (patch)
treec418c815225860d6357dfd67d998e934654df808 /lib/rbot
parentd4c5eb46ce33816fb7ccc5e477d9e572fdfb2f5c (diff)
ircbot.rb: fill was_on info when delegating sent QUIT
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircbot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 2830a5ac..6fc92589 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -1297,6 +1297,7 @@ class Bot
m = PrivMessage.new(*args)
when "QUIT"
m = QuitMessage.new(*args)
+ m.was_on = myself.channels
end
@plugins.delegate('sent', m)
end