Skip to content

Commit

Permalink
FIX COMPFLAGS
Browse files Browse the repository at this point in the history
Though LISTCOMPFLAGS and COMPFLAGS is unused so far
  • Loading branch information
FIr3baL committed Jul 22, 2024
1 parent af81ee8 commit bb9adfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/liblobby/lobby/interface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1705,11 +1705,11 @@ Interface.commands["CLIENTIPPORT"] = Interface._OnClientIpPort
Interface.commandPattern["CLIENTIPPORT"] = "(%S+)%s+(%S+)%s+(%S+)"

function Interface:_OnCompFlags(compFlags)
compFlags = explode("\t", compflags)
compFlags = explode(" ", compFlags)
self:_CallListeners("OnCompFlags", compFlags)
end
Interface.commands["COMPFLAGS"] = Interface._OnCompFlags
Interface.commandPattern["COMPFLAGS"] = "(%S+)%s+(%S+)"
Interface.commandPattern["COMPFLAGS"] = "(.*)"

function Interface:_OnConnectUser(obj)
self:_CallListeners("OnConnectUser", obj.ip, obj.port, obj.engine, obj.password)
Expand Down

0 comments on commit bb9adfc

Please sign in to comment.