-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello!
First thanks for this code, it works really nicely.
The problem I have is when I use irc:whois() it takes up to 2 seconds when the user is present and up to 4 seconds when there is no such user.
Here my test case, this function is in onchat hook:
if (channel == bot.nick and command == "whois") then
local userinfo = bot:whois(message:sub(7))['userinfo']
if (userinfo) then
local host = userinfo[4]
if (host) then
sircbot:sendChat(user.nick, host)
end
else
sircbot:sendChat(user.nick, "user not found")
end
end
The mentioned times are reponse times, between giving the command to the bot and the reply of the bot.
Thanks in advance!
Tamás
Metadata
Metadata
Assignees
Labels
No labels