summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-09-13 07:53:54 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-09-13 07:53:54 +0200
commit2a96bc67b03d563ed7cdcb758e255be92efe3608 (patch)
treed7cc892e08d42b3fd6a468c4f15663c9c2a09835 /src/plugins
parentbb90514624299996ce8b98ba71433b845dd525e5 (diff)
downloadweechat-2a96bc67b03d563ed7cdcb758e255be92efe3608.zip
relay: remove useless condition always evaluated to true
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/relay/relay-client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index 4a6a2615b..0eec7b77a 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -943,8 +943,7 @@ relay_client_timer_cb (void *data, int remaining_calls)
{
for (i = 0; i < 2; i++)
{
- if (ptr_client->outqueue->raw_message
- && ptr_client->outqueue->raw_message[i])
+ if (ptr_client->outqueue->raw_message[i])
{
/*
* print raw message and remove it from outqueue