mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Fixing On(Channel/User)ModeIs arguments
This commit is contained in:
parent
01ffa79347
commit
98ccd99f4d
4
init.lua
4
init.lua
@ -288,14 +288,14 @@ end
|
|||||||
|
|
||||||
--RPL_UMODEIS
|
--RPL_UMODEIS
|
||||||
--To answer a query about a client's own mode, RPL_UMODEIS is sent back
|
--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)
|
o:invoke("OnUserModeIs", modes)
|
||||||
end
|
end
|
||||||
|
|
||||||
--RPL_CHANNELMODEIS
|
--RPL_CHANNELMODEIS
|
||||||
--The result from common irc servers differs from that defined by the rfc
|
--The result from common irc servers differs from that defined by the rfc
|
||||||
handlers["324"] = function(o, prefix, user, channel, modes)
|
handlers["324"] = function(o, prefix, user, channel, modes)
|
||||||
o:invoke("OnChannelModeIs", user, channel, modes)
|
o:invoke("OnChannelModeIs", channel, modes)
|
||||||
end
|
end
|
||||||
|
|
||||||
handlers["ERROR"] = function(o, prefix, message)
|
handlers["ERROR"] = function(o, prefix, message)
|
||||||
|
Loading…
Reference in New Issue
Block a user