IRC Gateway
PHP Manual

ircg_oper

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

ircg_oper — Elevates privileges to IRC OPER

Описание

bool ircg_oper ( resource $connection , string $name , string $password )

ircg_oper() will authenticate the logged in user on connection as an IRC operator.

Список параметров

connection

A connection resource handle returned by ircg_pconnect().

name

The operator account name. Must be a registered IRC account.

password

The password associated with name .

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.


IRC Gateway
PHP Manual