summaryrefslogtreecommitdiffstats
path: root/src/user.cpp
blob: d2b606b3c092e767a13963c1ba8b11a6713c4c17 (plain)
1
2
3
4
5
6
#include "user.h"

user::user(userid_t uid, bool leech, bool protect) : id(uid), deleted(false), leechstatus(leech), protect_ip(protect) {
	stats.leeching = 0;
	stats.seeding = 0;
}