summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc-server.c')
-rw-r--r--src/irc/dcc/dcc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-server.c b/src/irc/dcc/dcc-server.c
index 30224ff9..7ae572cd 100644
--- a/src/irc/dcc/dcc-server.c
+++ b/src/irc/dcc/dcc-server.c
@@ -245,7 +245,7 @@ static void dcc_server_msg(SERVER_DCC_REC *dcc, const char *msg)
/* 120 clientnickname filesize filename */
params = g_strsplit(msg, " ", -1);
- paramcount = strarray_length(params);
+ paramcount = g_strv_length(params);
if (paramcount < 3) {
g_strfreev(params);