summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-05 22:12:22 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-05 22:12:22 +0000
commit728fe3e1d42bf8cac353787480701b0a62559272 (patch)
treed06f1dd4f1bff13d9913ce59e343e8180560aac6 /src/init.c
parent1961fa282b71fadc8325e5a1161d259db87e447e (diff)
Removed DevNull pseudo-client as well as all *Alias pseudo-clients.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1427 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/init.c b/src/init.c
index 109aad9e3..38f7b0c7d 100644
--- a/src/init.c
+++ b/src/init.c
@@ -32,43 +32,6 @@ void introduce_user(const char *user)
memmove(lasttimes, lasttimes + 1, sizeof(lasttimes) - sizeof(int));
lasttimes[LTSIZE - 1] = time(NULL);
#undef LTSIZE
- /* We make aliases go online */
- if (s_NickServAlias && (!user || stricmp(user, s_NickServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_NickServAlias, ServiceUser, ServiceHost, desc_NickServAlias, ircd->nickservaliasmode);
- }
-
- if (s_ChanServAlias && (!user || stricmp(user, s_ChanServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_ChanServAlias, ServiceUser, ServiceHost, desc_ChanServAlias, ircd->chanservaliasmode);
- }
-
- if (s_MemoServAlias && (!user || stricmp(user, s_MemoServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_MemoServAlias, ServiceUser, ServiceHost, desc_MemoServAlias, ircd->memoservaliasmode);
- }
-
- if (s_BotServAlias && (!user || stricmp(user, s_BotServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_BotServAlias, ServiceUser, ServiceHost, desc_BotServAlias, ircd->botservaliasmode);
- }
-
- if (s_HelpServAlias && (!user || stricmp(user, s_HelpServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_HelpServAlias, ServiceUser, ServiceHost, desc_HelpServAlias, ircd->helpservaliasmode);
- }
-
- if (s_OperServAlias && (!user || stricmp(user, s_OperServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_OperServAlias, ServiceUser, ServiceHost, desc_OperServAlias, ircd->operservaliasmode);
- }
-
- if (s_DevNullAlias && (!user || stricmp(user, s_DevNullAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_DevNullAlias, ServiceUser, ServiceHost, desc_DevNullAlias, ircd->devnullvaliasmode);
- }
- if (s_HostServAlias && ircd->vhost
- && (!user || stricmp(user, s_HostServAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_HostServAlias, ServiceUser, ServiceHost, desc_HostServAlias, ircd->hostservaliasmode);
- }
- if (s_GlobalNoticerAlias
- && (!user || stricmp(user, s_GlobalNoticerAlias) == 0)) {
- ircdproto->SendClientIntroduction(s_GlobalNoticerAlias, ServiceUser, ServiceHost, desc_GlobalNoticerAlias, ircd->globalaliasmode);
- }
-
/* We make the bots go online */
BotInfo *bi;
int i;
@@ -658,8 +621,6 @@ int init_secondary(int ac, char **av)
bi = new BotInfo(s_BotServ, ServiceUser, ServiceHost, desc_BotServ);
if (s_HelpServ)
bi = new BotInfo(s_HelpServ, ServiceUser, ServiceHost, desc_HelpServ);
- if (s_DevNull)
- bi = new BotInfo(s_DevNull, ServiceUser, ServiceHost, desc_DevNull);
if (s_GlobalNoticer)
bi = new BotInfo(s_GlobalNoticer, ServiceUser, ServiceHost, desc_GlobalNoticer);
}