Search found 4 matches

by m3z
Tue Feb 23, 2016 10:10 am
Forum: UnrealIRCd 4 modules (third party)
Topic: get username in PRECONNECT hook (not nickname)
Replies: 5
Views: 3210

Re: get username in PRECONNECT hook (not nickname)

Hi dboyz,

And thanks for your answer.
Yes i confirm, I talk about HOOKTYPE_PRE_LOCAL_CONNECT hook.
Do you know if there somewhere a description of the structure pointed by sptr (other than source)?
by m3z
Mon Feb 22, 2016 1:49 pm
Forum: UnrealIRCd 4 modules (third party)
Topic: get username in PRECONNECT hook (not nickname)
Replies: 5
Views: 3210

Re: get username in PRECONNECT hook (not nickname)

One information more : the modules i develop is for unrealdircd 4.0.1
by m3z
Mon Feb 22, 2016 9:50 am
Forum: UnrealIRCd 4 modules (third party)
Topic: get username in PRECONNECT hook (not nickname)
Replies: 5
Views: 3210

get username in PRECONNECT hook (not nickname)

Hi All, I would like to get the username instead of nickname in the _preconnect hook. Hook callback get a aClient *sptr in parameter. But sptr->username is set to "". sptr->name is feed but with nickname. I think, at this moment (preconnect) unrealIrcd have already received from client it,...