1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 10:36:38 +02:00

Only enable vhosts automatically if the user doesn't already have the vhost set

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2998 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-06-04 02:17:58 +00:00
parent 9abdb4e2e9
commit 2cc4cd0165
3 changed files with 22 additions and 19 deletions
+2 -2
View File
@@ -810,7 +810,7 @@ int anope_event_setident(const char *source, int ac, const char **av)
return MOD_CONT;
}
u->SetIdent(av[0]);
u->SetVIdent(av[0]);
return MOD_CONT;
}
int anope_event_chgident(const char *source, int ac, const char **av)
@@ -827,7 +827,7 @@ int anope_event_chgident(const char *source, int ac, const char **av)
return MOD_CONT;
}
u->SetIdent(av[1]);
u->SetVIdent(av[1]);
return MOD_CONT;
}