sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 864a6ab96beb42437a689e50bc5cec8a24ab04ad
parent c88a472f1888fc7a638fe83b53a8a2900d3f76dd
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Tue, 10 Jul 2007 06:20:28 +0000

bugfix: duplicate labels

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@494 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/label.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/label.rb b/lib/sup/label.rb
@@ -42,6 +42,7 @@ class LabelManager
   end
   
   def << t
+    t = t.intern unless t.is_a? Symbol
     unless @labels.member?(t) || RESERVED_LABELS.member?(t)
       @labels[t] = true
       @modified = true