mirror of
https://github.com/anope/anope.git
synced 2026-07-04 00:03:12 +02:00
Change to users masked host instead of the real one after turning vhost off in inspircd.
This commit is contained in:
@@ -19,6 +19,7 @@ Anope Version 1.8 - GIT
|
||||
3/3 F Fixed opping our clients on ratbox when not using TS6 [ #00]
|
||||
10/31 A Added support for plexus3's channel mode +z [#1202]
|
||||
2/23 A Added account tracking support to ratbox protocol module [ #00]
|
||||
3/4 F Fixed setting a users host in InspIRCd when vhost is turned off [ #00]
|
||||
|
||||
Anope Version 1.8.5
|
||||
-------------------
|
||||
|
||||
@@ -575,11 +575,10 @@ void inspircd_cmd_topic(char *whosets, char *chan, char *whosetit,
|
||||
|
||||
void inspircd_cmd_vhost_off(User * u)
|
||||
{
|
||||
Uid *ud = find_uid(s_OperServ);
|
||||
send_cmd(ud->uid, "MODE %s -%s", u->nick, myIrcd->vhostchar);
|
||||
inspircd_cmd_chghost(u->nick, u->host);
|
||||
common_svsmode(u, "-x", NULL);
|
||||
common_svsmode(u, "+x", NULL);
|
||||
|
||||
if (has_chgidentmod && u->username && u->vident && strcmp(u->username, u->vident) > 0)
|
||||
if (has_chgidentmod && u->username && u->vident && strcmp(u->username, u->vident) != 0)
|
||||
{
|
||||
inspircd_cmd_chgident(u->nick, u->username);
|
||||
}
|
||||
|
||||
@@ -622,11 +622,10 @@ void inspircd_cmd_topic(char *whosets, char *chan, char *whosetit,
|
||||
|
||||
void inspircd_cmd_vhost_off(User * u)
|
||||
{
|
||||
Uid *ud = find_uid(s_OperServ);
|
||||
send_cmd(ud->uid, "MODE %s -%s", u->nick, myIrcd->vhostchar);
|
||||
inspircd_cmd_chghost(u->nick, u->host);
|
||||
common_svsmode(u, "-x", NULL);
|
||||
common_svsmode(u, "+x", NULL);
|
||||
|
||||
if (has_chgidentmod && u->username && u->vident && strcmp(u->username, u->vident) > 0)
|
||||
if (has_chgidentmod && u->username && u->vident && strcmp(u->username, u->vident) != 0)
|
||||
{
|
||||
inspircd_cmd_chgident(u->nick, u->username);
|
||||
}
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="5"
|
||||
VERSION_EXTRA="-git"
|
||||
VERSION_BUILD="3064"
|
||||
VERSION_BUILD="3065"
|
||||
|
||||
# $Log$ # Changes since 1.8.5 Release
|
||||
#Revision 3065 - Change to users masked host instead of the real one after turning vhost off in inspircd.
|
||||
#Revision 3063 - Fixed opping our clients on ratbox when TS6 is not used.
|
||||
#Revision 3062 - Do not show SENDPASS in NickServ and ChanServ help to users who can't use it
|
||||
#Revision 3061 - Rejoin our clients if kicked on TS6 IRCDs and made ratbox protocol module use account tracking
|
||||
|
||||
Reference in New Issue
Block a user