Fixed /topic command bug

v2.8-utf8proc
Sebastien Helleu 2003-09-27 19:20:48 +00:00
parent 70cd53af86
commit c32bc12d8e
2 changed files with 2 additions and 2 deletions

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"),

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"),