mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Modified to silently set hosts if uline sets it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2285 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
dada179fb6
commit
4d5738912a
@ -42,7 +42,11 @@ void handle_chghost(char **parameters, int pcnt, userrec *user)
|
||||
if (dest)
|
||||
{
|
||||
Srv->ChangeHost(dest,parameters[1]);
|
||||
Srv->SendOpers(std::string(user->nick)+" used CHGHOST to make the displayed host of "+std::string(dest->nick)+" become "+std::string(parameters[1]));
|
||||
if (!Srv->IsUlined(user->server))
|
||||
{
|
||||
// fix by brain - ulines set hosts silently
|
||||
Srv->SendOpers(std::string(user->nick)+" used CHGHOST to make the displayed host of "+std::string(dest->nick)+" become "+std::string(parameters[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user