Changeset e9cf291


Ignore:
Timestamp:
2010-03-14T16:42:22Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
435f552
Parents:
caceb06
Message:

Allow the identify command only once. (Bug #509)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rcaceb06 re9cf291  
    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        }
    145151       
    146152        switch (status) {
Note: See TracChangeset for help on using the changeset viewer.