X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fmv%2Fplugins%2Fdovecot_mailstore.rb;h=4ce1437f8fa474da5a9d77b798e6a8620a7d2fea;hp=f0824528b438c3ab7cf9f823ce7dc13209ea3741;hb=616d9c0f3260f4d8e9bf26140fa6032c3eabca8b;hpb=ec3c9099a29f40d95f055ea0f7fb25a99d913de3 diff --git a/lib/mv/plugins/dovecot_mailstore.rb b/lib/mv/plugins/dovecot_mailstore.rb index f082452..4ce1437 100644 --- a/lib/mv/plugins/dovecot_mailstore.rb +++ b/lib/mv/plugins/dovecot_mailstore.rb @@ -67,7 +67,8 @@ class DovecotMailstoreMv < Mailstore # Return the filesystem path of this account's mailbox. # Only works if the account exists! if not account.include?('@') - raise InvalidAccountError.new("#{account}: Accounts must contain an '@' symbol.") + msg = "#{account}: Accounts must contain an '@' symbol." + raise InvalidAccountError.new(msg) end account_parts = account.split('@')