lib/ezmlm/list.rb
changeset 25 81cc7d47f68f
parent 24 f8873b391f3d
child 26 a89d91d4b157
--- a/lib/ezmlm/list.rb	Wed May 24 15:42:39 2017 -0700
+++ b/lib/ezmlm/list.rb	Tue May 30 11:08:48 2017 -0700
@@ -25,7 +25,7 @@
 	###
 	def initialize( listdir )
 		listdir = Pathname.new( listdir ) unless listdir.is_a?( Pathname )
-		unless listdir.directory? && ( listdir + 'mailinglist' ).exist?
+		unless listdir.directory? && ( listdir + 'ezmlmrc' ).exist?
 			raise ArgumentError, "%p doesn't appear to be an ezmlm-idx list." % [ listdir.to_s ]
 		end
 		@listdir = listdir