From a1cf5c398047cc5a71d6c72aa1ef76150c4eda2a Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 5 Nov 2007 17:03:32 +0000 Subject: factoids plugin: echo the newly learned fact --- data/rbot/plugins/factoids.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'data/rbot') diff --git a/data/rbot/plugins/factoids.rb b/data/rbot/plugins/factoids.rb index 37db9a4a..38793bec 100644 --- a/data/rbot/plugins/factoids.rb +++ b/data/rbot/plugins/factoids.rb @@ -170,6 +170,7 @@ class FactoidsPlugin < Plugin @factoids << factoid @changed = true m.okay + fact(m, :index => @factoids.length.to_s) end end -- cgit v1.2.3