Changeset 7adc657


Ignore:
Timestamp:
2008-02-09T23:54:09Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1ecff5e
Parents:
c84e31a
Message:

Restored "add -tmp". A bit hackish, but it will do for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rc84e31a r7adc657  
    449449        {
    450450                add_on_server = 0;
    451                 cmd ++;         /* So evil... :-D */
     451                cmd ++;
    452452        }
    453453       
     
    481481        }
    482482       
    483         /* By making this optional, you can talk to people without having to
    484            add them to your *real* (server-side) contact list. */
    485483        if( add_on_server )
    486484                a->ic->acc->prpl->add_buddy( a->ic, cmd[2], NULL );
    487        
    488         /* add_buddy( a->ic, NULL, cmd[2], cmd[2] ); */
     485        else
     486                /* Yeah, officially this is a call-*back*... So if we just
     487                   called add_buddy, we'll wait for the IM server to respond
     488                   before we do this. */
     489                imcb_add_buddy( a->ic, cmd[2], NULL );
    489490       
    490491        irc_usermsg( irc, "Adding `%s' to your contact list", cmd[2]  );
Note: See TracChangeset for help on using the changeset viewer.