aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-06-07 15:36:19 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-06-07 15:36:19 +0200
commit85e9644fe03cef7b83f3b3200943364e4eecaf14 (patch)
tree1043b458bbcaac400c19a503aec13eb465ea4f65 /protocols
parenta312b6bcbc6aa836850d94fc2abc70ceffe275cd (diff)
parent0025b5148725e524dfdc1da57b18fcd2be2608ee (diff)
Merging Jelmer's storage tree (with LDAP support).
Diffstat (limited to 'protocols')
-rw-r--r--protocols/nogaim.c3
-rw-r--r--protocols/nogaim.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index b1975f19..d4ccc3f1 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -293,7 +293,8 @@ void signoff( struct gaim_connection *gc )
account_t *a;
serv_got_crap( gc, "Signing off.." );
-
+ gc->flags |= OPT_LOGGING_OUT;
+
b_event_remove( gc->keepalive );
gc->keepalive = 0;
gc->prpl->close( gc );
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index b0319d27..2080465c 100644
--- a/protocols/nogaim.h
+++ b/protocols/nogaim.h
@@ -53,10 +53,12 @@
#define WEBSITE "http://www.bitlbee.org/"
#define IM_FLAG_AWAY 0x0020
-#define OPT_CONN_HTML 0x00000001
-#define OPT_LOGGED_IN 0x00010000
#define GAIM_AWAY_CUSTOM "Custom"
+#define OPT_CONN_HTML 0x00000001
+#define OPT_LOGGED_IN 0x00010000
+#define OPT_LOGGING_OUT 0x00020000
+
/* ok. now the fun begins. first we create a connection structure */
struct gaim_connection
{