ircg_part

(PHP 4 >= 4.0.4, PHP 5 <= 5.0.4)

ircg_part -- Leave a channel on server

Description

bool ircg_part ( resource connection, string channel )

Leave the channel channel on the server connected to by connection.

Parameters

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

Return Values

Returns TRUE on success or FALSE on failure.