Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category proxy
  • Assigned To No-one
  • Operating System Linux
  • Severity Low
  • Priority Normal
  • Reported Version irssi 0.8.13
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Shish (Shish) - 2009-05-31

FS#678 - [Patch] Send the last few lines of chat when a client connects to irssi-proxy

I always thought that the entire point of an IRC bouncer was to send a client a copy of the chat that they've missed; but after looking around, it seems that /no/ bouncer has this feature -- so I've added it to irssi-proxy, since that seems to be the best of the current set (and is my current main client anyway :P)

The proxy will now keep a record of the last few PRIVMSGs to each channel (20 by default, can be changed at runtime), and send those to each client who connects; other types of message are ignored for fear of confusing the client, and because they're less useful.

Note that this patch is slightly incomplete, in that it doesn't free the history when leaving a channel or unloading the module; I think the rest of the code is fairly solid, but I've not programmed C for a couple of years, so you may want to take this as a proof of concept and redo it properly...

Ideally the proxy module would read scrollback data from wherever it's stored normally, instead of keeping its own copy, but I couldn't find the API to access that :S

This task does not depend on any other tasks.

Wouter Coekaerts (coekie)
Monday, 01 June 2009, 15:22 GMT
> Ideally the proxy module would read scrollback data from wherever it's stored normally
That's what proxy_backlog.pl does; but that could use some more work too.
http://wouter.coekaerts.be/site/irssi/proxy_backlog
Andre LaBranche (dre)
Saturday, 31 March 2012, 00:15 GMT
Works great, thanks :)

Loading...