1
0
forked from bip/bip

remove extra printf

This commit is contained in:
nohar 2005-08-06 16:11:21 +00:00
parent 4c2aa74c36
commit 574841d9e3
2 changed files with 3 additions and 3 deletions

View File

@ -759,6 +759,9 @@ void ircize(list_t *ll)
mylog(LOG_DEBUG, "old user: \"%s\"", u->name);
}
/*
* TODO: keep track of removed connection on sighup
*/
/*
* A user has multiple connections.
* For each connections create a irc_client and a irc_server

View File

@ -389,7 +389,6 @@ int irc_dispatch_server(struct link_server *server, struct line *line)
}
free(server->nick);
server->nick = newnick;
printf("nick2: %s\n", server->nick);
WRITE_LINE1(CONN(server), NULL, "NICK", server->nick);
ret = OK_FORGET;
@ -1603,7 +1602,6 @@ static int irc_nick(struct link_server *server, struct line *line)
char *nim;
free(server->nick);
server->nick = strdup(line->elemv[1]);
printf("nick3: %s\n", server->nick);
/* How the hell do we handle that crap cleanly ? */
nim = make_irc_mask(line->elemv[1], server->irc_mask);
@ -1688,7 +1686,6 @@ static void irc_server_startup(struct link_server *ircs)
}
ircs->nick = nick;
printf("nick1: %s\n", ircs->nick);
WRITE_LINE1(CONN(ircs), NULL, "NICK", ircs->nick);
}