]> git.mxchange.org Git - friendica-addons.git/blobdiff - irc/irc.php
Merge pull request #1160 from nupplaphil/task/httprequest_optimiziations
[friendica-addons.git] / irc / irc.php
index 6dccd4846209dfee0f085249d3e520bc0a739a5d..4cb99c3f67ee4ff8d44595dbaacd34e1fb04bf9f 100644 (file)
@@ -17,13 +17,6 @@ function irc_install() {
        Hook::register('addon_settings_post', 'addon/irc/irc.php', 'irc_addon_settings_post');
 }
 
-function irc_uninstall() {
-       Hook::unregister('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
-       Hook::unregister('addon_settings', 'addon/irc/irc.php', 'irc_addon_settings');
-
-}
-
-
 function irc_addon_settings(&$a,&$s) {
        if(! local_user())
                return;
@@ -116,8 +109,8 @@ function irc_content(&$a) {
 /* add the chatroom frame and some html */
   $o .= <<< EOT
 <h2>IRC chat</h2>
-<p><a href="http://tldp.org/HOWTO/IRC/beginners.html" target="_blank" rel="noopener noreferrer">A beginner's guide to using IRC. [en]</a></p>
-<iframe src="//webchat.freenode.net?channels=$channels" style="width:100%; max-width:900px; height: 600px;"></iframe>
+<p><a href="https://tldp.org/HOWTO/IRC/beginners.html" target="_blank" rel="noopener noreferrer">A beginner's guide to using IRC. [en]</a></p>
+<iframe src="//web.libera.chat?channels=$channels" style="width:100%; max-width:900px; height: 600px;"></iframe>
 EOT;
 
 return $o;