This commit is contained in:
parent
a405de62e6
commit
44846c80c8
|
@ -62,7 +62,10 @@
|
||||||
|
|
||||||
(defn <-color
|
(defn <-color
|
||||||
[value]
|
[value]
|
||||||
(if (string/starts-with? value "#") value (keyword value)))
|
(if (and (some? value)
|
||||||
|
(string/starts-with? value "#"))
|
||||||
|
value
|
||||||
|
(keyword value)))
|
||||||
|
|
||||||
(defn <-rpc
|
(defn <-rpc
|
||||||
[chat]
|
[chat]
|
||||||
|
|
Loading…
Reference in New Issue