]> git.stg.codes - stg.git/blobdiff - tests/testadmin.h
Check IP in USERS_IMPL::Authorize as early as possible
[stg.git] / tests / testadmin.h
index b6b871f5af529dc3d8c6b6a3389c62b7803fc613..59f81d31f76ec9c00bf8eaf780eb12dec5c8692a 100644 (file)
@@ -5,7 +5,7 @@
 
 class TEST_ADMIN : public ADMIN {
     public:
-        TEST_ADMIN() : priv(0xffFF) {}
+        TEST_ADMIN() : priv(0xffFF), ip(0) {}
 
         ADMIN & operator=(const ADMIN &) { return *this; }
         ADMIN & operator=(const ADMIN_CONF &) { return *this; }