act_comm.c:    if ( !str_cmp( ch->name, pnote->sender ) )
act_comm.c:    if ( is_name( "all", pnote->to_list ) )
act_comm.c:    if ( IS_IMMORTAL(ch) && is_name( "immortal", pnote->to_list ) )
act_comm.c:    if ( is_name( ch->name, pnote->to_list ) )
act_comm.c:    if (ch->clan!=0 && is_name( clan_table[ch->clan].dshort, pnote->to_list) )
act_comm.c:    pnote->next		= NULL;
act_comm.c:    pnote->sender	= str_dup( ch->name );
act_comm.c:    pnote->date		= str_dup( "" );
act_comm.c:    pnote->to_list	= str_dup( "" );
act_comm.c:    pnote->subject	= str_dup( "" );
act_comm.c:    pnote->text		= NULL;
act_comm.c:    /* pnote->text		= str_dup( "" ); */
act_comm.c:    to_list	= pnote->to_list;
act_comm.c:    if ( str_cmp( ch->name, pnote->sender ) && to_new[0] != '\0' )
act_comm.c:	free_string( pnote->to_list );
act_comm.c:	pnote->to_list = str_dup( to_new + 1 );
act_comm.c:	bbs_list[newsgroup_no] = pnote->next;
act_comm.c:	prev->next = pnote->next;
act_comm.c:    free_string( pnote->text    );
act_comm.c:    free_string( pnote->subject );
act_comm.c:    free_string( pnote->to_list );
act_comm.c:    free_string( pnote->date    );
act_comm.c:    free_string( pnote->sender  );
act_comm.c:    pnote->next	= note_free;
act_comm.c:	for ( pnote=bbs_list[newsgroup_no]; pnote != NULL; pnote = pnote->next )
act_comm.c:	    fprintf( fp, "Sender  %s~\n", pnote->sender);
act_comm.c:	    fprintf( fp, "Date    %s~\n", pnote->date);
act_comm.c:	    fprintf( fp, "Stamp   %ld\n",  pnote->date_stamp);
act_comm.c:	    fprintf( fp, "To      %s~\n", pnote->to_list);
act_comm.c:	    fprintf( fp, "Subject %s~\n", pnote->subject);
act_comm.c:	    fprintf( fp, "Text\n%s~\n",   pnote->text);
act_comm.c:        bbs_list[newsgroup_no] = pnote->next;
act_comm.c:        prev->next = pnote->next;
act_comm.c:    free_string( pnote->text    );
act_comm.c:    pnote->text=NULL;
act_comm.c:    free_string( pnote->subject );
act_comm.c:    free_string( pnote->to_list );
act_comm.c:    free_string( pnote->date    );
act_comm.c:    free_string( pnote->sender  );
act_comm.c:    pnote->next = note_free;
act_comm.c:        for ( pnote=bbs_list[newsgroup_no]; pnote != NULL; pnote = pnote->next )
act_comm.c:            fprintf( fp, "Sender  %s~\n", pnote->sender);
act_comm.c:            fprintf( fp, "Date    %s~\n", pnote->date);
act_comm.c:            fprintf( fp, "Stamp   %ld\n",  pnote->date_stamp);
act_comm.c:            fprintf( fp, "To      %s~\n", pnote->to_list);
act_comm.c:            fprintf( fp, "Subject %s~\n", pnote->subject);
act_comm.c:            fprintf( fp, "Text\n%s~\n",   pnote->text);
act_comm.c:	if (ch->pnote->text==NULL)
act_comm.c:	   string_edit(ch, &ch->pnote->text);
act_comm.c:	   string_append(ch, &ch->pnote->text);
act_comm.c:	free_string( ch->pnote->subject );
act_comm.c:	ch->pnote->subject = str_dup( argument );
act_comm.c:	free_string( ch->pnote->to_list );
act_comm.c:	ch->pnote->to_list = str_dup( argument );
act_comm.c:	    free_string( ch->pnote->text );
act_comm.c:	    ch->pnote->text=NULL;
act_comm.c:	    free_string( ch->pnote->subject );
act_comm.c:	    free_string( ch->pnote->to_list );
act_comm.c:	    free_string( ch->pnote->date );
act_comm.c:	    free_string( ch->pnote->sender );
act_comm.c:	    ch->pnote->next	= note_free;
act_comm.c:            ch->pnote->sender,
act_comm.c:            ch->pnote->subject,
act_comm.c:            ch->pnote->to_list
act_comm.c:        if (ch->pnote->text != NULL)
act_comm.c:            strcat ( buf, ch->pnote->text );
act_comm.c:  	            for ( pnote = bbs_list[i]; pnote != NULL; pnote = pnote->next)
act_comm.c:                    if (is_note_to(ch,pnote) && str_cmp(ch->name,pnote->sender)
act_comm.c:	                &&  pnote->date_stamp > ch->pcdata->bbs_last_read[i])
act_comm.c:                pnote = pnote->next )
act_comm.c:		        && !str_cmp( ch->name, pnote->sender) )
act_comm.c:		        && is_name(ch->name, pnote->to_list) ) )
act_comm.c:	                (pnote->date_stamp > ch->pcdata->bbs_last_read[newsgroup_no]
act_comm.c:	                && str_cmp(pnote->sender,ch->name))
act_comm.c:	                    pnote->sender, pnote->subject );
act_comm.c:                        pnote = pnote->next)
act_comm.c:                    if (is_note_to(ch,pnote) && str_cmp(ch->name,pnote->sender)
act_comm.c:	                &&  pnote->date_stamp > ch->pcdata->bbs_last_read[i])
act_comm.c:                    pnote = pnote->next) 
act_comm.c:                            pnote->date_stamp);
act_comm.c:                    pnote = pnote->next) 
act_comm.c:                && str_cmp(ch->name,pnote->sender)
act_comm.c:		        &&  ch->pcdata->bbs_last_read[newsgroup_no] < pnote->date_stamp)
act_comm.c:                    	pnote->sender,
act_comm.c:                    	pnote->subject,
act_comm.c:                    	pnote->date,
act_comm.c:                    	pnote->to_list);
act_comm.c:		    colorize( pnote->text, color_buf, ch );
act_comm.c:                    strcat (buf, pnote->text);
act_comm.c:                             pnote->date_stamp);
act_comm.c:                pnote = pnote->next )
act_comm.c:                    pnote->sender,
act_comm.c:                    pnote->subject,
act_comm.c:                    pnote->date,
act_comm.c:                    pnote->to_list
act_comm.c:		    colorize( pnote->text, color_buf, ch );
act_comm.c:                strcat (buf, pnote->text);
act_comm.c:                    pnote->date_stamp);
act_comm.c:                pnote = pnote->next )
act_comm.c:                pnote = pnote->next )
act_comm.c:	if (!str_cmp(ch->pnote->to_list,""))
act_comm.c:	if (!str_cmp(ch->pnote->subject,""))
act_comm.c:	if (!str_cmp(ch->pnote->text,""))
act_comm.c:    ch->pnote->next             = NULL;
act_comm.c:    ch->pnote->date             = str_dup( strtime );
act_comm.c:    ch->pnote->date_stamp       = current_time;
act_comm.c:                pnote->next != NULL; 
act_comm.c:                pnote = pnote->next )
act_comm.c:        pnote->next    = ch->pnote;
act_comm.c:	    fprintf( fp, "Sender  %s~\n",	pnote->sender);
act_comm.c:	    fprintf( fp, "Date    %s~\n", pnote->date);
act_comm.c:	    fprintf( fp, "Stamp   %ld\n", pnote->date_stamp);
act_comm.c:	    fprintf( fp, "To	  %s~\n", pnote->to_list);
act_comm.c:	    fprintf( fp, "Subject %s~\n", pnote->subject);
act_comm.c:	    fprintf( fp, "Text\n%s~\n", pnote->text);
act_comm.c:                pnote = pnote->next )
act_comm.c:                fprintf( fp, "Sender  %s~\n", pnote->sender);
act_comm.c:                fprintf( fp, "Date    %s~\n", pnote->date);
act_comm.c:                fprintf( fp, "Stamp   %ld\n", pnote->date_stamp);
act_comm.c:                fprintf( fp, "To      %s~\n", pnote->to_list);
act_comm.c:                fprintf( fp, "Subject %s~\n", pnote->subject);
act_comm.c:                fprintf( fp, "Text\n%s~\n",   pnote->text);
db.c:	free_string( ch->pnote->text );
db.c:        ch->pnote->text=NULL;
db.c:        free_string( ch->pnote->subject );
db.c:        free_string( ch->pnote->to_list );
db.c:        free_string( ch->pnote->date );
db.c:        free_string( ch->pnote->sender );
db.c:        ch->pnote->next     = note_free;
db.c:  for ( pnote = bbs_list[newsgroup]; pnote != NULL; pnote = pnote->next )
db.c:        pnote->sender	= fread_string( fp );
db.c:        pnote->date	= fread_string( fp );
db.c:        pnote->date_stamp = fread_number(fp);
db.c:	pnote->to_list	= fread_string( fp );
db.c:	pnote->subject	= fread_string( fp );
db.c:	pnote->text	= fread_string( fp );
db.c: 	if ( pnote->date_stamp < current_time - (24*60*60*14) /* 14 days */
db.c:	||   strlen(pnote->text) > 8192 )
db.c:            free_string( pnote->text );
db.c:            free_string( pnote->subject );
db.c:            free_string( pnote->to_list );
db.c:            free_string( pnote->date );
db.c:            free_string( pnote->sender );
db.c:            pnote->next     = note_free;
