Disallow player name '#' since this key is used for the file head line.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4023 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
528fe2e638
commit
d198652a0b
|
@ -76,6 +76,8 @@ class CFLog:
|
|||
self.log.put_record(record)
|
||||
|
||||
def info(self, name):
|
||||
if name == '#':
|
||||
return 0
|
||||
record = self.log.get_record(name)
|
||||
if record:
|
||||
return record
|
||||
|
|
Loading…
Reference in New Issue