summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/flood/flood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index 7fb4773d..b1648f5f 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -204,7 +204,7 @@ static void flood_notice(const char *data, IRC_SERVER_REC *server, const char *n
{
char *params, *target, *text;
- g_return_if_fail(text != NULL);
+ g_return_if_fail(data != NULL);
g_return_if_fail(server != NULL);
if (nick == NULL) {