aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-19 18:07:47 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-19 18:07:47 +0100
commitbd9b00f4fed3560eab98f15cf9923aed13467d5d (patch)
treecad1a8227670a97c68463006c15d43539824f18f /irc.h
parent2face6292c693afb45e5e04f87ba080931eb16c3 (diff)
Fixes for single-process daemon mode, changed value of USTATUS_SHUTDOWN. If
this still causes problems, shutting down should be an extra flag instead of a status code.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc.h b/irc.h
index 093de7c9..309f79e6 100644
--- a/irc.h
+++ b/irc.h
@@ -40,11 +40,11 @@
typedef enum
{
- USTATUS_OFFLINE,
+ USTATUS_OFFLINE = 0,
USTATUS_AUTHORIZED,
USTATUS_LOGGED_IN,
USTATUS_IDENTIFIED,
- USTATUS_SHUTDOWN
+ USTATUS_SHUTDOWN = -1
} irc_status_t;
typedef struct channel