projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ebf410
)
Support for leading zeroes in colour codes
author
Jack Allnutt
<m2ys4u@gmail.com>
Sat, 2 Mar 2013 08:35:46 +0000
(08:35 +0000)
committer
Jack Allnutt
<m2ys4u@gmail.com>
Sat, 2 Mar 2013 08:35:46 +0000
(08:35 +0000)
Fix for issue #174
client/assets/dev/utils.js
patch
|
blob
|
blame
|
history
diff --git
a/client/assets/dev/utils.js
b/client/assets/dev/utils.js
index e45a9aa29164dbe1a34db098006d3bdb02594bd0..41f6b22250f71ec6a6842ec5778a177c463e1682 100644
(file)
--- a/
client/assets/dev/utils.js
+++ b/
client/assets/dev/utils.js
@@
-301,7
+301,7
@@
function formatIRCMsg (msg) {
* @inner
*/
colourMatch = function (str) {
- var re = /^\x03([0-9][0-
5]?)(,([0-9][0-5
]?))?/;
+ var re = /^\x03([0-9][0-
9]?)(,([0-9][0-9
]?))?/;
return re.exec(str);
};
/**