projects
/
NextIRCd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
push
[NextIRCd.git]
/
src
/
ircd_client.c
diff --git
a/src/ircd_client.c
b/src/ircd_client.c
index 001548ebae5408424a74621694ada982993131ea..77e1b6c5bfaae7efcab32220e7943bd481e769ce 100644
(file)
--- a/
src/ircd_client.c
+++ b/
src/ircd_client.c
@@
-28,8
+28,12
@@
#define CLIENT_MAXLEN 512
struct Client *client_connected(struct Auth *auth) {
#define CLIENT_MAXLEN 512
struct Client *client_connected(struct Auth *auth) {
-
- return NULL;
+ struct Client *client = calloc(1, sizeof(*client));
+ client->conn = auth->conn;
+
+ client_printf(client, "Hi");
+
+ return client;
}
void client_printf(struct Client *client, const char *text, ...) {
}
void client_printf(struct Client *client, const char *text, ...) {