summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 08:14:38 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-01-12 08:14:38 +0100
commit4d07655281c9f9e0c554d4ad207daf41bc41b78d (patch)
treea60be5d52409a75d77067e82098302d65a932fd4 /plugins/checksum
parent412637c1fa973a57b0ab7e2064c8bd83d1d22c9b (diff)
hardcoding is bad
Diffstat (limited to 'plugins/checksum')
-rw-r--r--plugins/checksum/checksum.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c
index 8465d161..e9a6bd99 100644
--- a/plugins/checksum/checksum.c
+++ b/plugins/checksum/checksum.c
@@ -197,7 +197,8 @@ increase_max_hash_size ()
 
 	if (config_fail)
 	{
-		xchat_printf (ph, "Config file is unavailable, defaulting to 4 GB\n");
+		xchat_printf (ph, "Config file is unavailable, falling back to the default value\n");
+		print_size ();
 	} else
 	{
 		size = get_max_hash_size ();
@@ -223,7 +224,8 @@ decrease_max_hash_size ()
 
 	if (config_fail)
 	{
-		xchat_printf (ph, "Config file is unavailable, defaulting to 4 GB\n");
+		xchat_printf (ph, "Config file is unavailable, falling back to the default value\n");
+		print_size ();
 	} else
 	{
 		size = get_max_hash_size ();