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