summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/core/irc-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index faea4c96..d0d3b683 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -386,7 +386,7 @@ static void cmd_whois(const char *data, IRC_SERVER_REC *server,
return;
/* -<server tag> */
- server = IRC_SERVER(cmd_options_get_server(NULL, optlist,
+ server = IRC_SERVER(cmd_options_get_server("whois", optlist,
SERVER(server)));
if (server == NULL) {
cmd_params_free(free_arg);