diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-06 12:46:51 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-06 12:46:51 +0000 |
commit | cfb41ae15b48e167c76f97fb20ca382ba3dd5032 (patch) | |
tree | 09ccea8f187971c64ed88c2fb0678c9b0f2d717c | |
parent | 899c42e1b879cb5b1e6f8203cd7ff53ed6d1a45b (diff) |
Default maximum lines to send per message is now 5
-rw-r--r-- | lib/rbot/ircbot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 1b013c17..649c02ed 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -257,7 +257,7 @@ class Bot }, :desc => "String used to replace newlines when send.newlines is set to join") BotConfig.register BotConfigIntegerValue.new('send.max_lines', - :default => 0, + :default => 5, :validate => Proc.new { |v| v >= 0 }, :on_change => Proc.new { |bot, v| bot.set_default_send_options :max_lines => v |