Fixing small typo and clarifying arguments

This commit is contained in:
Joshua Simmons 2010-07-18 21:21:55 +10:00
parent b53cd265ae
commit 96c2fd3ac0
1 changed files with 7 additions and 7 deletions

View File

@ -281,10 +281,10 @@ end
handlers["333"] = function(o, prefix, me, channel, nick, time)
o:invoke("OnTopicInfo", channel, nick, tonumber(time))
end
handlers["KICK"] = function(o, prefix, channel, kicked, reason)
o:invoke("OnKick", channel, kicked, parsePrefix(prefix), reason)
end
handlers["KICK"] = function(o, prefix, channel, kicked, reason)
o:invoke("OnKick", channel, kicked, parsePrefix(prefix), reason)
end
--RPL_UMODEIS
--To answer a query about a client's own mode, RPL_UMODEIS is sent back
@ -293,10 +293,10 @@ handlers["221"] = function(o, prefix, modes)
end
--RPL_CHANNELMODEIS
--user seems to be just a repeat of the user's nick
--The result from common irc servers differs from that defined by the rfc
handlers["324"] = function(o, prefix, user, channel, modes)
o.invoke("OnChannelModeIs", user, channel, modes)
end
o:invoke("OnChannelModeIs", user, channel, modes)
end
handlers["ERROR"] = function(o, prefix, message)
o:invoke("OnDisconnect", message, true)