aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-06-15 14:22:17 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-06-15 14:22:17 +0200
commit79e826a028f4b4c62c0c16e20af1fb13a9636324 (patch)
tree5ddc446344fd7659ae847efc00f7ff70a8e3764a /irc.h
parent5a5c926ec0dffa4b28895929c092089c2a9b9d9f (diff)
Converted irc->status to binary flags. (This also fixes auto-save-on-quit
that broke because of USTATUS_SHUTDOWN. :-( )
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/irc.h b/irc.h
index 79faea0b..1dc12849 100644
--- a/irc.h
+++ b/irc.h
@@ -41,10 +41,10 @@
typedef enum
{
USTATUS_OFFLINE = 0,
- USTATUS_AUTHORIZED,
- USTATUS_LOGGED_IN,
- USTATUS_IDENTIFIED,
- USTATUS_SHUTDOWN = -1
+ USTATUS_AUTHORIZED = 1,
+ USTATUS_LOGGED_IN = 2,
+ USTATUS_IDENTIFIED = 4,
+ USTATUS_SHUTDOWN = 8
} irc_status_t;
typedef struct channel