summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-01-04 16:39:37 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-01-04 16:39:37 -0500
commita5a3b7079531da5e8f0662fe223d18e3477599d9 (patch)
treee19156a2ecb5516cb555b5c5fb037b68dfdd2758 /src
parent034acfa61c9f5667f11f43659c02eb9bae7e94f5 (diff)
Fix trim bug in topics
Diffstat (limited to 'src')
-rw-r--r--src/message.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.clj b/src/message.clj
index 9f1380b..5b3b66f 100644
--- a/src/message.clj
+++ b/src/message.clj
@@ -44,4 +44,4 @@
(defn get-topics [content]
(set
(for [r (re-seq topic-regex content)]
- (lower-case (.substring r 1)))))
+ (lower-case (.substring (.trim r) 1)))))