summaryrefslogtreecommitdiff
path: root/src/ultimate3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ultimate3.c')
-rw-r--r--src/ultimate3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ultimate3.c b/src/ultimate3.c
index e8a1ff874..be3af6849 100644
--- a/src/ultimate3.c
+++ b/src/ultimate3.c
@@ -684,9 +684,10 @@ void anope_cmd_remove_akill(char *user, char *host)
send_cmd(NULL, "RAKILL %s %s", host, user);
}
-void anope_cmd_vhost_off(char *nick)
+void anope_cmd_vhost_off(User * u)
{
- send_cmd(s_HostServ, "SVSMODE %s -x", nick);
+ send_cmd(s_HostServ, "SVSMODE %s -x", u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)