summaryrefslogtreecommitdiff
path: root/src/protocol
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-07 22:15:54 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-07 22:15:54 +0000
commit226710743e071cb57cb29a50bc1134030c0a5e55 (patch)
tree1fd2aa024862431d242ad89f6217964f9742cf43 /src/protocol
parenta0925f2d4c866d16f03f9e7e44654bad737b2090 (diff)
Backported mooncups patch and added a message to /hs off when using inspircd12.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1945 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol')
-rw-r--r--src/protocol/inspircd12.cpp1
-rw-r--r--src/protocol/unreal32.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp
index 4a65bcebb..ec0646da9 100644
--- a/src/protocol/inspircd12.cpp
+++ b/src/protocol/inspircd12.cpp
@@ -499,6 +499,7 @@ class InspIRCdProto : public IRCDProto
void SendVhostDel(User *u)
{
inspircd_cmd_chghost(u->uid, (u->mode & umodes[static_cast<int>('x')]) ? u->chost.c_str() : u->host);
+ notice_lang(s_HostServ, u, HOST_OFF);
}
void SendAkill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason)
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 0d2414b68..d28df8c01 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -611,7 +611,8 @@ class UnrealIRCdProto : public IRCDProto
void SendVhostDel(User *u)
{
send_cmd(s_HostServ, "v %s -xt", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, myIrcd->vhostchar);
+ send_cmd(s_HostServ, "v %s +x", u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF);
}
void SendAkill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason)