[IRCServices Coding] can services change user ident on connect ?
Andrew Church
achurch at achurch.org
Mon Mar 3 02:57:28 PST 2003
>so, instead of having the user connect with his real ident and host,
>i'd like for services (either directly, or through UnrealIRCD's chgident and
>chghost) to change the ident and host into something else.
You'll want to use the "user create" callback; see section 6 of the
manual for details. Inside the callback function, you can use send_cmd()
to send CHGIDENT/CHGHOST commands, as Georges suggests (and don't forget to
set user->username and user->fakehost appropriately, or the real username
and hostname will appear in NickServ INFO replies).
--Andrew Church
achurch at achurch.org
http://achurch.org/