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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user