wantOtpServer

This commit is contained in:
Dave Schuyler 2004-12-28 05:55:52 +00:00
parent b07b7fb4eb
commit 19e6c415b5
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
"""MsgTypes module: contains distributed object message types"""
OTP_SERVER_ROOT_DO_ID = 4007
# 2 new params: passwd, char bool 0/1 1 = new account
# 2 new return values: 129 = not found, 12 = bad passwd,
CLIENT_LOGIN = 1

View File

@ -265,6 +265,7 @@ class ShowBase(DirectObject.DirectObject):
__builtins__["cpMgr"] = ConfigPageManager.getGlobalPtr()
__builtins__["cvMgr"] = ConfigVariableManager.getGlobalPtr()
__builtins__["__dev__"] = base.config.GetBool('want-dev', 0)
__builtins__["wantOtpServer"] = base.config.GetBool('want-otp-server', 0)
if __debug__:
__builtins__["deltaProfiler"] = DeltaProfiler.DeltaProfiler("ShowBase")
__builtins__["onScreenDebug"] = OnScreenDebug.OnScreenDebug()