summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocol/unreal32.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 373a595c8..3eeb31bbd 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -534,12 +534,16 @@ void unreal_cmd_vhost_off(User * u)
if (UseSVS2MODE) {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVS2MODE", "v"),
u->nick);
+ send_cmd(s_HostServ, "%s %s +x", send_token("SVS2MODE", "v"),
+ u->nick);
} else {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVSMODE", "n"),
u->nick);
- }
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick,
- myIrcd->vhostchar);
+ send_cmd(s_HostServ, "%s %s +x", send_token("SVSMODE", "n"),
+ u->nick);
+
+ }
+ notice_lang(s_HostServ, u, HOST_OFF);
}
void unreal_cmd_akill(char *user, char *host, char *who, time_t when,