From cfb41ae15b48e167c76f97fb20ca382ba3dd5032 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 6 Apr 2007 12:46:51 +0000 Subject: Default maximum lines to send per message is now 5 --- lib/rbot/ircbot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3