1
0

more cleaning!!!

This commit is contained in:
dtb
2022-09-17 23:29:31 -04:00
parent 1aed01279b
commit fbdaf55d1c
10 changed files with 32 additions and 191 deletions

16
irc/irc.c Normal file
View File

@@ -0,0 +1,16 @@
#include <stdio.h>
#include <stdlib.h>
/* RFC 1459 1.2
* 9 characters + nul terminator */
static int nickname[9 + 1];
/* RFC 1459 1.3
* 200 characters + nul terminator */
static int channel[200 + 1];
/* RFC 1459 1.3
* channel names cannot contain these characters */
static int channel_restricted[] = { 0x07, ' ', ',', '\0' };

4
irc/irc.h Normal file
View File

@@ -0,0 +1,4 @@
#ifndef _IRC_H
# define _IRC_H
#endif /* ifndef _IRC_H */