Variableninitialisierung; Fix Typecast
Change-Id: I1ece2b9d077b407a4cc293ec09818c92eb59ac9a
diff --git a/secure/bbmaster.c b/secure/bbmaster.c
index 91bba47..7dc3782 100644
--- a/secure/bbmaster.c
+++ b/secure/bbmaster.c
@@ -24,7 +24,7 @@
"EDBG: "+x+"\n")
// fuer FTP.
-private mapping monitored;
+private mapping monitored = ([]);
#define D_LOGTIME 0 // Logendezeit, <int>
@@ -160,7 +160,7 @@
mixed erstie;
if (ob)
- erstie = ({string})ob->QueryProp(P_SECOND);
+ erstie = ({int|string})ob->QueryProp(P_SECOND);
ldata += ([uid: time() + LOGTIME + random(LOGTIME/2);
0;