diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c index 87b0df128..7ebd1921f 100644 --- a/src/irc/irc-commands.c +++ b/src/irc/irc-commands.c @@ -258,7 +258,7 @@ t_irc_command irc_commands[] = N_("[channel] [topic]"), N_("channel: channel name\ntopic: new topic for channel " "(if topic is \"-delete\" then topic is deleted)"), - "%t", 0, MAX_ARGS, 1, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, + "%t|-delete", 0, MAX_ARGS, 1, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, { "trace", N_("find the route to specific server"), N_("[target]"), N_("target: server"), diff --git a/weechat/src/irc/irc-commands.c b/weechat/src/irc/irc-commands.c index 87b0df128..7ebd1921f 100644 --- a/weechat/src/irc/irc-commands.c +++ b/weechat/src/irc/irc-commands.c @@ -258,7 +258,7 @@ t_irc_command irc_commands[] = N_("[channel] [topic]"), N_("channel: channel name\ntopic: new topic for channel " "(if topic is \"-delete\" then topic is deleted)"), - "%t", 0, MAX_ARGS, 1, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, + "%t|-delete", 0, MAX_ARGS, 1, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, { "trace", N_("find the route to specific server"), N_("[target]"), N_("target: server"),