summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 01:02:22 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 01:02:22 +0000
commit0c5c97ba0ea71dd875a856179b2ab68c6014c1af (patch)
treecd21b8facf4e7ee0c74aa8ba68fe094464d784a3 /src
parentb9d62796920a4fde698af1beee0919fdb13dd59a (diff)
Always UseSVS2MODE, too.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/config.c2
-rw-r--r--src/protocol/unreal32.c9
2 files changed, 3 insertions, 8 deletions
diff --git a/src/config.c b/src/config.c
index 1d91b2456..ae61ff0c1 100644
--- a/src/config.c
+++ b/src/config.c
@@ -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}}},
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 223a951c9..8f1a31549 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -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 */