summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-09-27 19:20:48 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-09-27 19:20:48 +0000
commitc32bc12d8ea9429197419f2877ec678deb0beec1 (patch)
treef92707d9f5a3fdca9b93415b3d518aac34689c41 /src/irc
parent70cd53af86045fffe675742263a2d8b47cc7bf15 (diff)
downloadweechat-c32bc12d8ea9429197419f2877ec678deb0beec1.zip
Fixed /topic command bug
Diffstat (limited to 'src/irc')
-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 3d87a4794..307b18263 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -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"),