From ad9feec0895ea0b9acf1be3f24c9a2d5c8cc9782 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 30 Aug 2008 19:59:58 +0100 Subject: Added chat.c to keep track of chatrooms the user cares about. --- irc.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'irc.h') diff --git a/irc.h b/irc.h index b8c52925..e341b2da 100644 --- a/irc.h +++ b/irc.h @@ -47,11 +47,6 @@ typedef enum USTATUS_SHUTDOWN = 8 } irc_status_t; -typedef struct channel -{ - char *name; -} channel_t; - typedef struct irc { int fd; @@ -86,6 +81,7 @@ typedef struct irc struct query *queries; struct account *accounts; + struct chat *chatrooms; struct __USER *users; GHashTable *userhash; -- cgit v1.2.3 From 39f93f0ce1c0a179b51f5ff6474d57509e9e0d17 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 31 Aug 2008 14:42:33 +0100 Subject: /join can now be used to join chatrooms, join_chat should not be used anymore. /join should not be used for unnamed groupchats anymore, use "chat with" instead. --- irc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc.h') diff --git a/irc.h b/irc.h index e341b2da..f9b2a5b9 100644 --- a/irc.h +++ b/irc.h @@ -37,6 +37,7 @@ #define CMODES "nt" #define CMODE "t" #define UMODE "s" +#define CTYPES "&#" typedef enum { @@ -95,7 +96,6 @@ typedef struct irc } irc_t; #include "user.h" -// #include "nick.h" extern GSList *irc_connection_list; -- cgit v1.2.3