IRSSI Patches

Wednesday, 15th October 2008 - 11:15 BST

Over time I have created a few IRSSI patches that allow you to change the default behaviour of IRSSI. Any patches (or scripts) I have created are listed below, with some details about them, and a link to download them. If you have any issues related directly to the patches / scripts then feel free to contact me. All files are released under the GPL v2 and can be downloaded at the bottom of the page.

Auto unban / rejoin script

The auto unban / rejoin script is a simple script that will use ChanServ to unban you from a channel and automatically join the channel after you are unbanned. It works simply by checking for the 'you are banned' message when attempting to join a channel, when it receives the message it sends the unban request to ChanServ. Once it receives the 'you are unbanned' message from ChanServ it will then automatically join the channel for you.

Hashed proxy password patch

The hashed proxy password patch adds an extra config option, irssiproxy_sha_passwords. This is a bool option which, when enabled, assumes that the irssiproxy_password is hashed using the SHA1 algorithm. The patch is designed to be transparent so when using /set irssiproxy_password it will automatically hash the entered value for you. Toggling the irssiproxy_sha_passwords option will not change the password in the config so you will have to reset after enabling the option.

Kill auto reconnect patch

The kill auto reconnect patch simply disables the default behaviour of IRSSI when you are killed. The default behaviour is not to reconnect as some networks do not like it to happen, as I only use networks that don't mind people reconnecting after being killed, I created this patch to remove the default behaviour.

Part on disconnect patch

The part on disconnect patch adds an extra config option, irssiproxy_part_on_disconnect. This is a bool option which, when disabled, alters the default behaviour of the IRSSI proxy when it is disconnected from the IRC server. The default behaviour sends a PART command to the clients connected via the proxy. This means that when the proxy gets disconnected, the channel windows on your proxied client close meaning you can't read the text before you were disconnected. The irssiproxy_part_on_disconnect option toggles if to send a PART (option enabled) command or a NOTICE (option disabled) message instead.

Attached files