Tweaked irc:whois a bit

This commit is contained in:
Jakob Ovrum 2010-07-17 11:15:17 +09:00
parent e866807a44
commit 72a355cc70
1 changed files with 2 additions and 3 deletions

View File

@ -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