aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kirc.h')
-rw-r--r--kirc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kirc.h b/kirc.h
index d6b1ea6..ef07173 100644
--- a/kirc.h
+++ b/kirc.h
@@ -12,7 +12,7 @@
#define TESTCHARS "\xe1\xbb\xa4"
#define MSG_MAX 512 /* irc rfc says lines are 512 char's max, but servers can accept more */
#define CHA_MAX 200
-#define WRAP_LEN 22
+#define WRAP_LEN 30
#define ABUF_LEN (sizeof("\r") - 1 + CHA_MAX + sizeof("> ") - 1 + MSG_MAX + sizeof("\x1b[0K") - 1 + 32 + 1)
/* this is as big as the ab buffer can get */
#define HIS_MAX 100
@@ -147,4 +147,9 @@ static struct {
struct dcc_connection slots[CON_MAX];
} dcc_sessions = {0};
+typedef struct LNICKS {
+ char nick[WRAP_LEN];
+ struct LNICKS* next;
+} lnicks_t, *lnicks;
+
#endif