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-b93c2d0d6712
master
akirschbaum 2005-11-10 19:21:15 +00:00
parent 528fe2e638
commit d198652a0b
1 changed files with 2 additions and 0 deletions

View File

@ -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