Fixing On(Channel/User)ModeIs arguments

This commit is contained in:
Joshua Simmons 2010-07-20 13:29:33 +10:00
parent 01ffa79347
commit 98ccd99f4d
1 changed files with 2 additions and 2 deletions

View File

@ -288,14 +288,14 @@ end
--RPL_UMODEIS
--To answer a query about a client's own mode, RPL_UMODEIS is sent back
handlers["221"] = function(o, prefix, modes)
handlers["221"] = function(o, prefix, user, modes)
o:invoke("OnUserModeIs", modes)
end
--RPL_CHANNELMODEIS
--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)
o:invoke("OnChannelModeIs", channel, modes)
end
handlers["ERROR"] = function(o, prefix, message)