dchub-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dchub-dev] [ 101989 ] login-event


From: nobody
Subject: [Dchub-dev] [ 101989 ] login-event
Date: Thu, 03 Apr 2003 07:29:21 -0500


Support Request #101989, was updated on Fri 03/21/2003 at 22:27
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101989&group_id=3963

Category: Feature Request
Status: Closed
Priority: 5
Summary: login-event

By: ericprev
Date: Thu 04/03/2003 at 14:29
Logged In: YES 
user_id=15899
Browser: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030311 Galeon/1.3.3

event "login" added.

----------------------------------------------------------------------

By: patric.karlstrom
Date: Sat 03/29/2003 at 10:11
Logged In: NO 
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210

In dchub-0.2.5 - manage_cnx.c
just above:
                return(0);
        } /* end log_level == 4 */

I inserted this code.

                {
                        unsigned int hip;
                        GString *ipnummer;

                        ipnummer = g_string_new("");
                        hip=ntohl(ptr->ip.s_addr);
                       
g_string_sprintf(ipnummer,"%hhu.%hhu.%hhu.%hhu",(unsigned
char)(hip>>24)&0xff,(unsigned char)(hip
>>16)&0xff,(unsigned char)(hip>>8)&0xff,(unsigned
char)hip&0xff);
                       
send_evt_to_script("login",ptr->user_nick->str,1,ipnummer->str);

                        ptr->last_hcall = gl_cur_time;
                }


----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101989&group_id=3963




reply via email to

[Prev in Thread] Current Thread [Next in Thread]