From 70b4d72c18d092bf14c982a28e860321f947755c Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Wed, 31 Aug 2005 20:39:19 +0000 Subject: a little more robustness around emtpy lookups Also more robustness around reading/writing conf.yaml --- data/rbot/plugins/seen.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'data/rbot/plugins/seen.rb') 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? -- cgit v1.2.3