summaryrefslogtreecommitdiff
path: root/src/irc/core/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc.c')
-rw-r--r--src/irc/core/irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c
index 24a2c757..c894adc5 100644
--- a/src/irc/core/irc.c
+++ b/src/irc/core/irc.c
@@ -291,7 +291,7 @@ static int irc_receive_line(SERVER_REC *server, char **str, int read_socket)
net_receive(net_sendbuffer_handle(server->handle),
tmpbuf, sizeof(tmpbuf));
- ret = line_split(tmpbuf, recvlen, str, (LINEBUF_REC **) &server->buffer);
+ ret = line_split(tmpbuf, recvlen, str, &server->buffer);
if (ret == -1) {
/* connection lost */
server->connection_lost = TRUE;