#include "ircd_sock.h"
#include "struct_connection.h"
#include "struct_auth.h"
-#include "config.h"
+#include "ircd_config.h"
#include "version.h"
#include <stdio.h>
if (pos < 0 || pos > (CLIENT_MAXLEN - 2)) pos = CLIENT_MAXLEN - 2;
sendBuf[pos] = '\n';
sendBuf[pos+1] = '\0';
- socket_send(conn, sendBuf, pos);
+ socket_send(conn, sendBuf, pos+1);
}
void client_connected(struct Connection *conn) {
void client_disconnected(struct Connection *conn) {
}
-
-void client_recv(struct Connection *conn, char *line) {
-
-}