Changeset 159
- Timestamp:
- 06/28/11 10:37:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/bowman/cardserv/SimpleUserManager.java
r157 r159 266 266 } 267 267 268 269 270 271 272 268 public int getAllowedEcmRate(String user) { 269 UserEntry entry = getUser(user); 270 if(entry == null) return -1; 271 else return entry.EcmRate; 272 } 273 273 274 274 static class UserEntry { … … 282 282 283 283 public UserEntry(String name, String password, String ipMask, String email, int maxConnections, boolean enabled, 284 boolean admin, boolean exclude, boolean debug, String startDate, String expireDate, int EcmRate, boolean spider) 285 { 284 boolean admin, boolean exclude, boolean debug, String startDate, String expireDate, int EcmRate, boolean spider) { 286 285 this.name = name; 287 286 this.displayName = name; … … 299 298 this.startDate = startDate; 300 299 } 301 302 } 303 300 } 304 301 }
Note:
See TracChangeset
for help on using the changeset viewer.