IRC - PuppyLinux = chatroom download disabling
"George Black" <[email protected]> Tue, 10 Jun 2008 10:01:28 +0800
| Newsgroups | gmane.network.instant-messaging.ayttm.user |
|---|---|
| Message-ID | <[email protected]> |
Hello again, I have also been trying to disable the chatroom download under IRC. IRC.FreeNode.net - in general use by Puppy Linux users - has about 5000 channels. Downloading them can result in a timeout from the server. Therefore, I have been trying to disable the download. Long term - the download should be put off until the user requests a list of the channels ( rare ), or moved to the background. With the help of bluesmoon I have made a first stab at turning off the download. I have attached the diff file. Hope this helps, George ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Ayttm-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ayttm-users
irc.diff
(application/octet-stream, 831 B)
Index: irc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/irc/irc.c,v
retrieving revision 1.45
diff -u -r1.45 irc.c
--- irc.c 30 Mar 2008 13:24:43 -0000 1.45
+++ irc.c 10 Jun 2008 01:47:30 -0000
@@ -1293,9 +1293,13 @@
/* No use adding this one before we're in anyway */
ila->keepalive_tag = eb_timeout_add((guint32)60000, irc_keep_alive, (gpointer)ela );
- /* get list of channels */
- ret = sendall(ila->fd, "LIST\n", strlen("LIST\n"));
-
+ /* get list of channels commented out GWB per PST 7Jun2008
+ * ret = sendall(ila->fd, "LIST\n", strlen("LIST\n"));
+ *
+ * and following line added
+ */
+ irc_finish_login(ila);
+
ay_activity_bar_update_label(ila->activity_tag, _("Logged in, downloading Channel List..."));
/* Claim us to be online */