summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-04 17:27:59 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-04 17:27:59 +0000
commit0b76c8b5e60d2efeaa587ec6240f4117ad250b35 (patch)
tree178dd4ac29bf0b5adbf9a393d5d0f8df4218b34d /src
parent942b1a88009c13afe20352e50948ddcc85befec5 (diff)
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
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,