1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 14:46:39 +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
+5 -2
View File
@@ -9,12 +9,15 @@ Provided by Anope Dev. <team@anope.org> - 2009
01/26 F Readonly/noexpire are now checked before saving on shutdown. [ #00]
Provided by mooncup <mooncup@anonnet.org> - 2009
02/04 F Automatically reapply vhost on hs off for unreal32. [ #00]
02/04 F Automatically reapply vhost on hs off for unreal32. [ #00]
Provided by Adam <Adam@SubZeroIRC.net> - 2009
07/03 F Channel list re-ordering. [#1024]
03/07 F Channel list re-ordering. [#1024]
01/28 F Added internal support for +j channelmodes. [#1001]
Provided by Szymek <> - 2009
03/30 F Fix HS OFF to work in all cases on InspIRCd. [#1075]
Anope Version 1.8.0
-------------------
10/19 F Updated Anope Credits [ #00]
+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