Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r449a51d ra0bd4c2  
    143143        storage_status_t status = storage_load( irc, cmd[1] );
    144144        char *account_on[] = { "account", "on", NULL };
    145        
    146         if( strchr( irc->umode, 'R' ) != NULL )
    147         {
    148                 irc_usermsg( irc, "You're already logged in." );
    149                 return;
    150         }
    151145       
    152146        switch (status) {
     
    914908                online = 1;
    915909        else
    916                 online = away = 1;
     910                online =  away = 1;
    917911       
    918912        if( strchr( irc->umode, 'b' ) != NULL )
     
    927921                if( online == 1 )
    928922                {
    929                         char st[256] = "Online";
    930                        
    931                         if( u->status_msg )
    932                                 g_snprintf( st, sizeof( st ) - 1, "Online (%s)", u->status_msg );
    933                        
    934923                        g_snprintf( s, sizeof( s ) - 1, "%s@%s %s(%s)", u->user, u->host, u->ic->acc->prpl->name, u->ic->acc->user );
    935                         irc_usermsg( irc, format, u->nick, s, st );
     924                        irc_usermsg( irc, format, u->nick, s, "Online" );
    936925                }
    937926               
Note: See TracChangeset for help on using the changeset viewer.