# ircg_topic

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)

ircg_topic — Set topic for channel on server

### Description

bool ircg_topic ( resource `$connection` , string `$channel` , string `$new_topic` )

Change the topic for the `channel` .

### Parameters

`connection`

  A connection resource handle returned by ircg_pconnect().

`channel`

  The channel name as #name.

`new_topic`

  The new topic to be set.

### Return Values

Returns `TRUE` on success or `FALSE` on failure.