To grant rights to user named "admin", the following did not work for me:
ircg_channel_mode($session_id, "#test", "+o", "admin");
instead, try:
ircg_channel_mode($session_id, "#test", "+o admin");
Have fun!
![]() |
|
||||||||||
|
ircg_channel_modeDescriptionbool ircg_channel_mode ( resource connection, string channel, string mode_spec, string nick )
Set channel mode flags for
Mode flags are set or cleared by specifying a mode character and
prepending it with a plus or minus character,
respectively. E.g. operator mode is granted by '+o' and revoked
by '-o', as passed as ircg_channel_mode
lanzer22 at yahoo dot com
18-Jun-2003 01:56
To grant rights to user named "admin", the following did not work for me: |