mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
clean up rcon, fix a bunch of little things
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
|
||||
class ServerModel(object):
|
||||
def __init__(self, id, port, game, hostname, clientnum, maxclientnum, map, gametype):
|
||||
def __init__(self, id, port, game, hostname, clientnum, maxclientnum, map, gametype, ip):
|
||||
self.id = id
|
||||
self.port = port
|
||||
self.game = game
|
||||
@ -9,6 +9,7 @@ class ServerModel(object):
|
||||
self.maxclientnum = maxclientnum
|
||||
self.map = map
|
||||
self.gametype = gametype
|
||||
self.ip = ip
|
||||
|
||||
def __repr__(self):
|
||||
return '<ServerModel(id={id})>'.format(id=self.id)
|
||||
|
Reference in New Issue
Block a user