1
0
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:
rburchell
2009-03-30 09:47:20 +00:00
parent 104b52b06e
commit eb4510946f
2 changed files with 12 additions and 3 deletions
+7 -1
View File
@@ -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