Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for IRC protocol handling

Enums§

ChannelType
Channel type enumeration for Legion Protocol

Functions§

escape_message
Escape IRC message text for safe transmission
get_channel_type
Determine the type of a channel based on its prefix
is_iron_encrypted_channelDeprecated
Legacy alias for backward compatibility
is_legion_encrypted_channel
Check if a channel is a Legion Protocol encrypted channel
is_standard_irc_channel
Check if a channel is a standard IRC channel (# or &)
is_valid_any_channel
Check if a string is a valid channel name (IRC or Legion)
is_valid_channel
Check if a string is a valid IRC channel name
is_valid_iron_channelDeprecated
Legacy alias for backward compatibility
is_valid_legion_channel
Check if a string is a valid Legion Protocol encrypted channel name
is_valid_nick
Check if a string is a valid IRC nickname