summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libirc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libirc.c b/libirc.c
index 376a483..639b50d 100644
--- a/libirc.c
+++ b/libirc.c
@@ -8,6 +8,7 @@
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/select.h>
+#include "irc.h"
//#define DEBUG "epoch" //nick or channel to send debug info to.
#define CHUNK 4096
@@ -205,12 +206,6 @@ int ircConnect(char *serv,char *port,char *nick,char *user) {
return fd;
}
-struct user {
- char *nick;
- char *user;
- char *host;
-};
-
//this function mangles the input.
//gotta free the returned pointer but not each pointer in the array.
char **line_cutter(int fd,char *line,struct user *user) {