1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 09:46:38 +02:00

Forward-port Szymek's vhost patch.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2222 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-03-30 10:00:58 +00:00
parent 89c2c02904
commit 2d270cd0bf
+6 -1
View File
@@ -495,7 +495,12 @@ class InspIRCdProto : public IRCDProto
void SendVhostDel(User *u)
{
inspircd_cmd_chghost(u->nick, (u->mode & umodes[static_cast<int>('x')]) ? u->chost.c_str() : u->host);
inspircd_cmd_chghost(u->nick, (u->mode & umodes[static_cast<int>('x')] ? u->chost.c_str() : u->host));
if (has_chgidentmod && u->GetIdent() != u->GetVIdent())
{
inspircd_cmd_chgident(u->nick, u->GetIdent().c_str());
}
}
void SendAkill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason)