1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 18:03:13 +02:00

Always UseSVS2MODE, too.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-11-09 01:02:22 +00:00
parent b9d6279692
commit 0c5c97ba0e
4 changed files with 3 additions and 14 deletions
-5
View File
@@ -582,11 +582,6 @@ GlobalOnCycleUP "Services are now back online - have a nice day"
# the first time.
#RestrictOperNicks
# UseSVS2MODE [OPTIONAL]
# On Unreal IRCD use SVS2MODE instead of SVSMODE, doing this will
# show services changing user modes.
#UseSVS2MODE
# NewsCount [OPTIONAL]
# The number of LOGON/OPER News item to display when a user logs
# on. The default value is 3
-1
View File
@@ -301,7 +301,6 @@ E int DumpCore;
E int LogUsers;
E int NickRegDelay;
E int UseSVSHOLD;
E int UseSVS2MODE;
E int RestrictOperNicks;
E int NewsCount;
E char *Numeric;
-2
View File
@@ -103,7 +103,6 @@ int DumpCore;
int LogUsers;
int NickRegDelay;
int UseSVSHOLD;
int UseSVS2MODE;
int NewsCount;
int UseMail;
@@ -1354,7 +1353,6 @@ Directive directives[] = {
{"UserKey2", {{PARAM_POSINT, PARAM_RELOAD, &UserKey2}}},
{"UserKey3", {{PARAM_POSINT, PARAM_RELOAD, &UserKey3}}},
{"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}},
{"UseSVS2MODE", {{PARAM_SET, PARAM_RELOAD, &UseSVS2MODE}}},
{"UseTS6", {{PARAM_SET, 0, &UseTS6}}},
{"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}},
{"WarningTimeout", {{PARAM_TIME, PARAM_RELOAD, &WarningTimeout}}},
+3 -6
View File
@@ -603,8 +603,7 @@ class UnrealIRCdProto : public IRCDProto
void SendVhostDel(User *u)
{
if (UseSVS2MODE) send_cmd(s_HostServ, "v %s -xt", u->nick);
else send_cmd(s_HostServ, "n %s -xt", u->nick);
send_cmd(s_HostServ, "v %s -xt", u->nick);
notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, myIrcd->vhostchar);
}
@@ -639,8 +638,7 @@ class UnrealIRCdProto : public IRCDProto
{
if (ac >= 1) {
if (!u || !av[0]) return;
if (UseSVS2MODE) send_cmd(ServerName, "v %s %s", u->nick, merge_args(ac, av));
else send_cmd(ServerName, "n %s %s", u->nick, merge_args(ac, av));
send_cmd(ServerName, "v %s %s", u->nick, merge_args(ac, av));
}
}
@@ -820,8 +818,7 @@ class UnrealIRCdProto : public IRCDProto
/* sent if svid is something weird */
void SendSVID(const char *nick, time_t ts)
{
if (UseSVS2MODE) send_cmd(ServerName, "v %s +d 1", nick);
else send_cmd(ServerName, "n %s +d 1", nick);
send_cmd(ServerName, "v %s +d 1", nick);
}
/* SVSMODE +d */