aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.php')
-rwxr-xr-xinclude/text.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index b47f0518a..f5c440e4a 100755
--- a/include/text.php
+++ b/include/text.php
@@ -1389,9 +1389,9 @@ function feed_salmonlinks($nick) {
}
-function get_plink($item,$mode) {
+function get_plink($item,$conversation_mode = true) {
$a = get_app();
- if(($mode == 'display') || ($mode == 'channel') || ($mode == 'network'))
+ if($conversation_mode)
$key = 'plink';
else
$key = 'llink';