Changeset 79e826a for irc.h


Ignore:
Timestamp:
2006-06-15T12:22:17Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3af70b0, 5898ef8
Parents:
5a5c926
Message:

Converted irc->status to binary flags. (This also fixes auto-save-on-quit
that broke because of USTATUS_SHUTDOWN. :-( )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    r5a5c926 r79e826a  
    4242{
    4343        USTATUS_OFFLINE = 0,
    44         USTATUS_AUTHORIZED,
    45         USTATUS_LOGGED_IN,
    46         USTATUS_IDENTIFIED,
    47         USTATUS_SHUTDOWN = -1
     44        USTATUS_AUTHORIZED = 1,
     45        USTATUS_LOGGED_IN = 2,
     46        USTATUS_IDENTIFIED = 4,
     47        USTATUS_SHUTDOWN = 8
    4848} irc_status_t;
    4949
Note: See TracChangeset for help on using the changeset viewer.