From: wmorgan Date: Mon, 20 Aug 2007 02:16:01 +0000 (+0000) Subject: logic bugfixfix X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=1741d4fd77c4d63c3b1079bb75f2f42f97663525;p=sup logic bugfixfix git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@536 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mode.rb index 2c725c1..2c03140 100644 --- a/lib/sup/modes/edit-message-mode.rb +++ b/lib/sup/modes/edit-message-mode.rb @@ -187,7 +187,7 @@ protected end def send_message - return if edited? && !BufferManager.ask_yes_or_no("Message unedited. Really send?") + return if !edited? && !BufferManager.ask_yes_or_no("Message unedited. Really send?") return if $config[:confirm_no_attachments] && mentions_attachments? && @attachments.size == 0 && !BufferManager.ask_yes_or_no("You haven't added any attachments. Really send?")#" stupid ruby-mode return if $config[:confirm_top_posting] && top_posting? && !BufferManager.ask_yes_or_no("You're top posting. That makes you a bad person. Really send?") #" stupid ruby-mode