Crossfire Server, Trunk
log_login.py
Go to the documentation of this file.
1
import
Crossfire
2
import
CFLog
3
4
activator = Crossfire.WhoIsActivator()
5
name = activator.Name
6
ip = Crossfire.WhatIsMessage()
7
8
log =
CFLog.CFLog
()
9
10
if
log.info(name):
11
log.login_update(name, ip)
12
else
:
13
log.create(name)
CFLog.CFLog
Definition:
CFLog.py:34
crossfire-crossfire-maps
python
events
login
log_login.py
Generated by
1.8.17