From 0b76c8b5e60d2efeaa587ec6240f4117ad250b35 Mon Sep 17 00:00:00 2001 From: robbeh Date: Wed, 4 Feb 2009 17:27:59 +0000 Subject: Applied patch by mooncup to re-apply the cloaked host when using /hs off for unreal32 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@1943 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/unreal32.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/protocol') 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, -- cgit