ircg_oper

Elevates privileges to IRC OPER (PHP 4 >= 4.3.3, PHP 5 <= 5.0.4)
bool ircg_oper ( resource connection, string name, string password )

ircg_oper() will authenticate the logged in user on connection as an IRC operator. name and password must match a registered IRC operator account. 如果成功则返回 TRUE,失败则返回 FALSE