serverspy/src/serverspy.cxx
//------------------------------------------------------------------------------
// This function will return the name of the administrators channel.
//------------------------------------------------------------------------------
This function will return the name of the administrators channel.
This function will return the name of the administrators channel .
char*  AdminName(void) {
static char name [1024];
        if(admin_str != NULL && strlen(admin_str)!=0) {
                strcpy(name,"Proxy:");
                strcat(name,admin_str);
                return name;
        } else {
                strcpy(name,"Proxy:");
                strcat(name,service_str);
                return name;
        }
}
char * AdminName ( void ) { static char name [ 1024 ] ; if ( admin_str != NULL && strlen ( admin_str ) != 0 ) { strcpy ( name , " " ) ; strcat ( name , admin_str ) ; return name ; } else { strcpy ( name , " " ) ; strcat ( name , service_str ) ; return name ; } }
This function will return the name of the administrators channel.
This function will return the name of the administrators channel .