diff --git a/init.lua b/init.lua index 7372bd4..66736d0 100644 --- a/init.lua +++ b/init.lua @@ -265,9 +265,8 @@ function meta:whois(nick) if result.account then result.account = result.account[3] - end - - if result.registered then + + elseif result.registered then result.account = result.registered[2] end