summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r--src/irc/dcc/dcc-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c
index 59b4a776..7a331388 100644
--- a/src/irc/dcc/dcc-chat.c
+++ b/src/irc/dcc/dcc-chat.c
@@ -64,7 +64,7 @@ static void cmd_msg(const char *data)
char *text, *target;
void *free_arg;
- g_return_if_fail(text != NULL);
+ g_return_if_fail(data != NULL);
if (*data != '=') {
/* handle only DCC messages */