From 403022498d0bdb22bb4201f1cc2fe63033ac2d28 Mon Sep 17 00:00:00 2001 From: Tony Baldwin Date: Sun, 18 Mar 2012 12:10:55 -0400 Subject: [PATCH] added comments and link to documentation to irc.php --- irc/irc.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/irc/irc.php b/irc/irc.php index cf86a446..1e051950 100644 --- a/irc/irc.php +++ b/irc/irc.php @@ -6,6 +6,11 @@ * Author: tony baldwin */ +/* enable in admin->plugins + * you will then have "irc chatroom" listed at yoursite/apps + * and the app will run at yoursite/irc + * documentation at http://tonybaldwin.me/hax/doku.php?id=friendica:irc + */ function irc_install() { register_hook('app_menu', 'addon/irc/irc.php', 'irc_app_menu'); @@ -32,10 +37,13 @@ $baseurl = $a->get_baseurl() . '/addon/irc'; $o = ''; - // add the chatroom frame and some html +/* add the chatroom frame and some html + * by altering the "channels=friendica" part of the URL, you can add/remove channels. + * At free-haven.org, I have "?channels=friendica,free-haven", for instance, to open #friendica and #free-haven + */ $o .= <<< EOT

IRC chat

-

a beginner's guid to using IRC.

+

a beginner's guide to using IRC.

EOT; -- 2.39.5