diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-08-03 20:07:14 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-08-03 20:07:14 +0000 |
commit | dd0b318cfd3df017b1ec4e44afc2f4e412fd2033 (patch) | |
tree | e364fc26af86c1105124385d8da2768262e97d23 /lib/rbot/post-config.rb | |
parent | fba4b7bba7a5d15f2b98f4d9f1ece390881c5ae9 (diff) |
Wed Aug 03 15:25:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* Added french language file (TODO most of the plugins just talk english)
* The way the Enum configs were set up, it wasn't possible to add language
files to rbot at runtime (the directory was only scanned at startup). Now
you can set a values Proc, which is called to return a list of allowed
values whenever it's queried.
* Added Config module for determining where we were installed.
Unfortunately rubygems is a total whore in this regard, and I hope the
current hackery I have to do to support it becomes redundant in the
future.
Diffstat (limited to 'lib/rbot/post-config.rb')
-rw-r--r-- | lib/rbot/post-config.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/rbot/post-config.rb b/lib/rbot/post-config.rb deleted file mode 100644 index 182cdfce..00000000 --- a/lib/rbot/post-config.rb +++ /dev/null @@ -1,8 +0,0 @@ -# write out our datadir so we can reference it at runtime -File.open('rbotconfig.rb', "w") {|f| - f.puts "module Irc" - f.puts " module Config" - f.puts " DATADIR = '#{config('datadir')}/rbot'" - f.puts " end" - f.puts "end" -} |