Changeset b1f818b for root_commands.c


Ignore:
Timestamp:
2010-07-11T12:21:59Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2e0eaac
Parents:
133cdff
Message:

Use bee_user structs in all nick_* functions. Prepare for a nick_get() with
more flexible nickname generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r133cdff rb1f818b  
    615615                else
    616616                {
    617                         nick_set( a, cmd[2], cmd[3] );
     617                        nick_set_raw( a, cmd[2], cmd[3] );
    618618                }
    619619        }
     
    643643       
    644644        bu->ic->acc->prpl->remove_buddy( bu->ic, bu->handle, NULL );
    645         nick_del( bu->ic->acc, bu->handle );
     645        nick_del( bu );
    646646        //TODO(wilmer): bee_user_free() and/or let the IM mod do it? irc_user_free( irc, cmd[1] );
    647647       
     
    728728                else if( iu->bu )
    729729                {
    730                         nick_set( iu->bu->ic->acc, iu->bu->handle, cmd[2] );
     730                        nick_set( iu->bu, cmd[2] );
    731731                }
    732732               
Note: See TracChangeset for help on using the changeset viewer.