]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge pull request #318 from annando/1510-viewsrc-community
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 1 Nov 2015 05:19:11 +0000 (06:19 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 1 Nov 2015 05:19:11 +0000 (06:19 +0100)
Viewsrc will now work on the community page as well.

irc/irc.php

index f400a77ca4da9183a2cd4df1fd2c055954d98c18..0ac7be37e8ed3c27fa7ec56d887381a82aa8c73d 100644 (file)
@@ -33,7 +33,7 @@ function irc_addon_settings(&$a,&$s) {
        $autochans = get_pconfig( local_user(), 'irc','autochans');  /* auto connect chans */
 
        $t = get_markup_template( "settings.tpl", "addon/irc/" );
-       $s = replace_macros($t, array(
+       $s .= replace_macros($t, array(
                '$header' => t('IRC Settings'),
                '$info' => t('Here you can change the system wide settings for the channels to automatically join and access via the side bar. Note the changes you do here, only effect the channel selection if you are logged in.'),
                '$submit' => t('Save Settings'),