summaryrefslogtreecommitdiff
path: root/src/unreal32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unreal32.c')
-rw-r--r--src/unreal32.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/unreal32.c b/src/unreal32.c
index 897af7ab8..71573e5af 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -741,15 +741,16 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
whosetit, when, topic);
}
-void anope_cmd_vhost_off(char *nick)
+void anope_cmd_vhost_off(User * u)
{
if (UseSVS2MODE) {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVS2MODE", "v"),
- nick);
+ u->nick);
} else {
send_cmd(s_HostServ, "%s %s -xt", send_token("SVSMODE", "n"),
- nick);
+ u->nick);
}
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
}
void anope_cmd_akill(char *user, char *host, char *who, time_t when,