summaryrefslogtreecommitdiff
path: root/src/irc/irc-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc-commands.c')
-rw-r--r--src/irc/irc-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index 2769e536a..1588f3ccb 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -67,7 +67,7 @@ t_irc_command irc_commands[] =
{ "invite", N_("invite a nick on a channel"),
N_("nickname channel"),
N_("nickname: nick to invite\nchannel: channel to invite"),
- 2, 2, 1, NULL, irc_cmd_send_invite, NULL },
+ 1, 2, 1, irc_cmd_send_invite, NULL, irc_cmd_recv_invite },
{ "ison", N_("check if a nickname is currently on IRC"),
N_("nickname [nickname ...]"),
N_("nickname: nickname"),