1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Fixed /topic command bug

This commit is contained in:
Sebastien Helleu
2003-09-27 19:20:48 +00:00
parent 70cd53af86
commit c32bc12d8e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1993,7 +1993,7 @@ irc_cmd_recv_topic (t_irc_server *server, char *host, char *arguments)
if (pos)
pos[0] = '\0';
if (string_is_channel (arguments))
if (!string_is_channel (arguments))
{
gui_printf (server->window,
_("%s \"topic\" command received without channel\n"),
+1 -1
View File
@@ -1993,7 +1993,7 @@ irc_cmd_recv_topic (t_irc_server *server, char *host, char *arguments)
if (pos)
pos[0] = '\0';
if (string_is_channel (arguments))
if (!string_is_channel (arguments))
{
gui_printf (server->window,
_("%s \"topic\" command received without channel\n"),