summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-05 17:03:32 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-05 17:03:32 +0000
commita1cf5c398047cc5a71d6c72aa1ef76150c4eda2a (patch)
tree228f2ccd2eb67207ac5d1ee5db9fd28f479755b9
parent831bcdbf1e67075bd04ffc3c8ee71c22fe8714b0 (diff)
factoids plugin: echo the newly learned fact
-rw-r--r--data/rbot/plugins/factoids.rb1
1 files changed, 1 insertions, 0 deletions
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