summaryrefslogtreecommitdiff
path: root/src/unreal31.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unreal31.c')
-rw-r--r--src/unreal31.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unreal31.c b/src/unreal31.c
index de6cb027e..8d6ed1a3d 100644
--- a/src/unreal31.c
+++ b/src/unreal31.c
@@ -500,9 +500,10 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
send_cmd(whosets, "TOPIC %s %s %lu :%s", chan, whosetit, when, topic);
}
-void anope_cmd_vhost_off(char *nick)
+void anope_cmd_vhost_off(User * u)
{
- send_cmd(s_HostServ, "SVSMODE %s -xt", nick);
+ send_cmd(s_HostServ, "SVSMODE %s -xt", 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,