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 (!oldnick && !nick && tmp)
|
||||
if (!oldnick && !nick)
|
||||
{
|
||||
in_completion = STATE_TABKEY;
|
||||
return tmp;
|
||||
|
||||
Reference in New Issue
Block a user