summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-08-31 20:39:19 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-08-31 20:39:19 +0000
commit70b4d72c18d092bf14c982a28e860321f947755c (patch)
treef7427015f8b55c3fbd28d4a3be7f388bf5d7b0f8 /data/rbot/plugins
parentbf85fc8d462037b072af0616d8a26d267614a205 (diff)
a little more robustness around emtpy lookups
Also more robustness around reading/writing conf.yaml
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/seen.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/seen.rb b/data/rbot/plugins/seen.rb
index a8dc1af7..cc0c1792 100644
--- a/data/rbot/plugins/seen.rb
+++ b/data/rbot/plugins/seen.rb
@@ -21,6 +21,7 @@ class SeenPlugin < Plugin
end
def listen(m)
+ return if m.sourcenick.nil?
# keep database up to date with who last said what
if m.kind_of?(PrivMessage)
return if m.private?