projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9545f34
)
Use gateway.channel_prefix instead of literal #
author
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 21 Jul 2011 00:04:08 +0000
(
01:04
+0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 21 Jul 2011 00:04:08 +0000
(
01:04
+0100)
js/front.js
patch
|
blob
|
blame
|
history
diff --git
a/js/front.js
b/js/front.js
index 0dfdd74cfb61d4257882c5168ba7d18409f3ea6c..97b01e1d25943b140624d0dbcf79a85226746aeb 100644
(file)
--- a/
js/front.js
+++ b/
js/front.js
@@
-1010,7
+1010,7
@@
tabview.prototype.addMsg = function(time, nick, msg, type, style){
if(next == '</u>') msg =+ '</u>';
}
- var re = '\\B(
#
[^ ,\\007]+)';
+ var re = '\\B(
' + gateway.channel_prefix + '
[^ ,\\007]+)';
re = new RegExp(re, 'g');
msg = msg.replace(re, function(match) {