summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-21 12:54:45 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-21 12:54:45 +0000
commit5f799bc2b5016c1cb29fc53cbce0171650192288 (patch)
tree93bcb8cc13913ef268d1e3b31bd372bdb726672a /init.c
parent89e802e16566cd098b49754f30475a01df97f1ae (diff)
BUILD : 1.7.3 (118) BUGS : 56 NOTES : Check for VHOST capable ircd on HostServAlias induction.
git-svn-id: svn://svn.anope.org/anope/trunk@118 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@92 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'init.c')
-rw-r--r--init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.c b/init.c
index 1a9006712..7053d0dde 100644
--- a/init.c
+++ b/init.c
@@ -219,12 +219,16 @@ void introduce_user(const char *user)
#else
NICK(s_DevNullAlias, desc_DevNullAlias, "+i");
#endif
+
+#ifdef HAS_VHOST
if (s_HostServAlias && (!user || stricmp(user, s_HostServAlias) == 0))
#if defined(IRC_ULTIMATE) || defined(IRC_UNREAL) || defined(IRC_VIAGRA)
NICK(s_HostServAlias, desc_HostServAlias, "+ioS");
#else
NICK(s_HostServAlias, desc_HostServAlias, "+io");
#endif
+#endif
+
if (s_GlobalNoticerAlias
&& (!user || stricmp(user, s_GlobalNoticerAlias) == 0))
#if defined(IRC_ULTIMATE) || defined(IRC_UNREAL)