summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:21:10 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:21:10 +0100
commit2378e4c2db770a1572cbec720d5a5b0021fe701f (patch)
tree5333c1fe907f7e9103fafea9382cd6ae78c829c8 /src/plugins/irc
parent90589b2d717cff5da6314ed38876e2517f038c22 (diff)
downloadweechat-2378e4c2db770a1572cbec720d5a5b0021fe701f.zip
Remove test on pointer which can't be NULL
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c
index f88b69786..04dc62f0f 100644
--- a/src/plugins/irc/irc-input.c
+++ b/src/plugins/irc/irc-input.c
@@ -114,7 +114,7 @@ irc_input_send_user_message (struct t_gui_buffer *buffer, int flags,
{
pos = message;
pos_max = message + max_length;
- while (pos && pos[0])
+ while (pos[0])
{
if (pos[0] == ' ')
last_space = pos;