summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-10-27 15:16:29 -0400
committerzach <zach@controlyourself.ca>2008-10-27 15:16:29 -0400
commit3b624070678eac683a5df82ea94ae7f46666ce1e (patch)
tree3ab968da0d363462288012220f16484874368de8 /lib/util.php
parent91ce2ecd7010e99a8f0c34ae15ff2c176850761e (diff)
Twitter bridge - change regex to look for mb @-replies
darcs-hash:20081027191629-462f3-ff16a45754e2370f62ebac06dc38c51981bb6ee6.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 10a8a49d2..c65adc76b 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1146,7 +1146,7 @@ function common_broadcast_notice($notice, $remote=false) {
// If it's not a Twitter-style reply, or if the user WANTS to send replies...
- if (!preg_match('/^@[a-zA-Z0-9_]{1,15}\b/', $notice->content) ||
+ if (!preg_match('/^@[a-zA-Z0-9_]{1,15}\b/u', $notice->content) ||
(($flink->noticesync & FOREIGN_NOTICE_SEND_REPLY) == FOREIGN_NOTICE_SEND_REPLY)) {
$result = common_twitter_broadcast($notice, $flink);