Remove unnecessary repeated check
tmp has already been tested in the previous line.
This commit is contained in:
@@ -2012,9 +2012,7 @@ static NickTab sucks = { NULL };
|
|||||||
|
|
||||||
if (tmp && (in_completion == STATE_NORMAL || in_completion == STATE_TABKEY))
|
if (tmp && (in_completion == STATE_NORMAL || in_completion == STATE_TABKEY))
|
||||||
{
|
{
|
||||||
|
if (!oldnick && !nick)
|
||||||
|
|
||||||
if (!oldnick && !nick && tmp)
|
|
||||||
{
|
{
|
||||||
in_completion = STATE_TABKEY;
|
in_completion = STATE_TABKEY;
|
||||||
return tmp;
|
return tmp;
|
||||||
|
|||||||
Reference in New Issue
Block a user