diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-30 02:38:06 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-30 02:38:06 +0000 |
commit | 987f371c0bd02120e9ed8740b064e9fa02b83876 (patch) | |
tree | 26c031410f13d638670096ca219d59c6c19d306e /src/users.c | |
parent | 6a9fa9f4d2ead592eb51a014491ce3aaee2029e8 (diff) |
Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/users.c b/src/users.c index 32dadbbba..65d2f7831 100644 --- a/src/users.c +++ b/src/users.c @@ -43,7 +43,6 @@ User::User(const std::string &snick, const std::string &suid) server = NULL; nc = NULL; chans = NULL; - founder_chans = NULL; invalid_pw_count = timestamp = my_signon = invalid_pw_time = lastmemosend = lastnickreg = lastmail = 0; OnAccess = false; @@ -225,7 +224,6 @@ void User::SetRealname(const std::string &srealname) User::~User() { struct u_chanlist *c, *c2; - struct u_chaninfolist *ci, *ci2; char *srealname; if (LogUsers) @@ -288,16 +286,6 @@ User::~User() cancel_user(this); if (debug >= 2) - alog("debug: User::~User(): free founder data"); - ci = this->founder_chans; - while (ci) - { - ci2 = ci->next; - delete ci; - ci = ci2; - } - - if (debug >= 2) alog("debug: User::~User(): delete from list"); if (this->prev) @@ -426,7 +414,6 @@ void get_user_stats(long *nusers, long *memuse) int i; User *user; struct u_chanlist *uc; - struct u_chaninfolist *uci; for (i = 0; i < 1024; i++) { for (user = userlist[i]; user; user = user->next) { @@ -444,8 +431,6 @@ void get_user_stats(long *nusers, long *memuse) mem += strlen(user->server->name) + 1; for (uc = user->chans; uc; uc = uc->next) mem += sizeof(*uc); - for (uci = user->founder_chans; uci; uci = uci->next) - mem += sizeof(*uci); } } *nusers = count; |