Diff of /trunk/misc/bw/serverstats.srp [r76] .. [r77] Maximize Restore

  Switch to side-by-side view

--- a/trunk/misc/bw/serverstats.srp
+++ b/trunk/misc/bw/serverstats.srp
@@ -20,7 +20,10 @@
         return
     var req = Http_post()
     req.add_field("username", "server")
-    req.add_field("password", prefs.get('webauth'))
+    var p = prefs.get('webauth')
+    if not p:
+        return
+    req.add_field("password", p)
     req.add_field("request", "reportstats")
     var data = [hdrs]
     for entry in roster: