mirror of
https://github.com/anope/anope.git
synced 2026-07-08 04:03:12 +02:00
Modified patch to change vhost removal to work correctly in all cases, originally by Szymek.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2221 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -551,7 +551,13 @@ inspircd_cmd_topic(char *whosets, char *chan, char *whosetit,
|
||||
|
||||
void inspircd_cmd_vhost_off(User * u)
|
||||
{
|
||||
send_cmd(s_HostServ, "MODE %s -x", u->nick);
|
||||
send_cmd(s_OperServ, "MODE %s -%s", u->nick, myIrcd->vhostchar);
|
||||
inspircd_cmd_chghost(u->nick, u->host);
|
||||
|
||||
if (has_chgidentmod && u->username && u->vident && strcmp(u->username, u->vident) > 0)
|
||||
{
|
||||
inspircd_cmd_chgident(u->nick, u->username);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user