summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-11 10:16:35 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-11 10:16:35 +0000
commit8fa67528583b83a23030d5d358e070586672cc87 (patch)
treefc2f1a81de12c8a1f8bb73148b102b0a5461111a /src/nickserv.c
parenta68b5efe279cafc3b2d81b335871091813c940d2 (diff)
Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ADMIN, changes OS STAFF to be more helpful in their place.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/nickserv.c')
-rw-r--r--src/nickserv.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index 38384d0b0..0c9042cc1 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -355,13 +355,6 @@ void load_ns_dbase()
nc->flags &= ~NI_KILL_IMMED;
SAFE(read_int16(&nc->language, f));
- /* Add services opers and admins to the appropriate list, but
- only if the database version is more than 10. */
- if (nc->flags & NI_SERVICES_ADMIN)
- slist_add(&servadmins, nc);
- if (nc->flags & NI_SERVICES_OPER)
- slist_add(&servopers, nc);
-
uint16 accesscount;
SAFE(read_int16(&accesscount, f));
if (accesscount)
@@ -441,8 +434,6 @@ void load_ns_dbase()
na->last_realname = sstrdup("");
}
- na->nc->flags &= ~NI_SERVICES_ROOT;
-
*nalast = na;
nalast = &na->next;
na->prev = naprev;
@@ -470,10 +461,6 @@ void load_ns_dbase()
continue;
}
- /* Add the Services root flag if needed. */
- for (j = 0; j < RootNumber; j++)
- if (!stricmp(ServicesRoots[j], na->nick))
- na->nc->flags |= NI_SERVICES_ROOT;
}
}
}
@@ -1121,7 +1108,6 @@ static int delcore(NickCore * nc)
int i;
/* (Hopefully complete) cleanup */
cs_remove_nick(nc);
- os_remove_nick(nc);
/* Remove the core from the list */
if (nc->next)