diff --git a/source/commands.c b/source/commands.c index e7e81b6..307d395 100644 --- a/source/commands.c +++ b/source/commands.c @@ -1390,7 +1390,7 @@ BUILT_IN_COMMAND(do_scan) scan_type = SCAN_IRCOPS; } - while (s = next_arg(args, &args)) + while ((s = next_arg(args, &args))) { if (is_channel(s)) { if (!channel)