provide optional sitewide channel list

This commit is contained in:
friendica 2012-04-01 18:11:11 -07:00
parent bda43f7315
commit 3b2cf61a55
2 changed files with 5 additions and 1 deletions

BIN
irc.tgz

Binary file not shown.

View file

@ -36,6 +36,10 @@ function irc_content(&$a) {
$baseurl = $a->get_baseurl() . '/addon/irc';
$o = '';
$sitechats = get_config('irc','channels');
if($sitechats)
$chats = explode(',',$sitechats);
else
$chats = array('friendica','chat','chatback','hottub','ircbar','dateroom','teentalk');