# irpgbot.v3.1.2+ipv6.patch

**Category:** Standalone_Bot
**Original Author:** johm+chschu (Unknown)

## Description
This patch file updates an IRC bot to support IPv6 connections and includes configuration changes for the bot.

## Key Features
- **Supports IPv6**: The bot can now connect to IRC servers using IPv6.
- **Configuration Update**: Added a `ipv6 off` option in the configuration file, allowing users to control whether the bot uses IPv6 or not.

## File Analysis
- **irpgbot.v3.1.2+ipv6.patch** — A patch file that modifies the existing bot's configuration and code to support IPv6 connections.
  - **irpgbot.v3.1.2/.irpg.conf** — Updated the bot's configuration file to include an option for enabling or disabling IPv6.
  - **irpgbot.v3.1.2/bot.v3.1.2.pl** — Modified the main script to check if the `ipv6` option is enabled and use either `IO::Socket::INET` or `IO::Socket::INET6` accordingly.