aboutsummaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'network.h')
-rw-r--r--network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/network.h b/network.h
index 88383bd..d9df589 100644
--- a/network.h
+++ b/network.h
@@ -89,6 +89,8 @@ extern pthread_mutex_t send_lock;
extern int client_fd;
extern int client_listen_fd;
+extern int client_listen_fd_ready;
+extern struct sockaddr_in client_listen_fd_bind_addr;
extern struct string client_nick;
extern uint8_t client_connected;
@@ -104,7 +106,7 @@ extern int initclientnetwork(void);
// Mode goes away when the user leaves the channel
#define MODE_TYPE_USERS 4
-extern char channel_mode_types[UCHAR_MAX];
+extern char channel_mode_types[UCHAR_MAX+1];
#if LOGALL
extern ssize_t SENDCLIENT(struct string msg);