summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes7
-rw-r--r--src/protocol/inspircd11.c8
2 files changed, 12 insertions, 3 deletions
diff --git a/Changes b/Changes
index 6ffbf2bc3..8253e7533 100644
--- a/Changes
+++ b/Changes
@@ -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]
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index cd106b99b..ed9acd211 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -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