summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-16 23:23:09 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-16 23:23:09 +0000
commit5059cb173d6267163dbf305451f4dd1c0c726603 (patch)
tree8da7a5b1b7df943c8c71923b026e74788c9dd2f8 /src
parentfb1a1829b88ef69729b22364e9af3ea40e9b4685 (diff)
BUILD : 1.7.7 (545) BUGS : 278 NOTES : On vhost unset show the correct vhost character
git-svn-id: svn://svn.anope.org/anope/trunk@545 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@398 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/bahamut.c1
-rw-r--r--src/dreamforge.c1
-rw-r--r--src/hybrid.c1
-rw-r--r--src/plexus.c1
-rw-r--r--src/ptlink.c1
-rw-r--r--src/rageircd.c3
-rw-r--r--src/solidircd.c3
-rw-r--r--src/ultimate2.c1
-rw-r--r--src/ultimate3.c3
-rw-r--r--src/unreal31.c3
-rw-r--r--src/unreal32.c3
-rw-r--r--src/viagra.c3
12 files changed, 18 insertions, 6 deletions
diff --git a/src/bahamut.c b/src/bahamut.c
index a42f84392..7cf512aa6 100644
--- a/src/bahamut.c
+++ b/src/bahamut.c
@@ -104,6 +104,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ NULL, /* vhost char */
}
,
{NULL}
diff --git a/src/dreamforge.c b/src/dreamforge.c
index 249ff79fc..b48b45a20 100644
--- a/src/dreamforge.c
+++ b/src/dreamforge.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ NULL, /* vhost char */
}
,
{NULL}
diff --git a/src/hybrid.c b/src/hybrid.c
index 67d9b3ad2..646c4aa02 100644
--- a/src/hybrid.c
+++ b/src/hybrid.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ NULL, /* vhost char */
}
,
{NULL}
diff --git a/src/plexus.c b/src/plexus.c
index d140c8dd9..74f0bd49c 100644
--- a/src/plexus.c
+++ b/src/plexus.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "h", /* vhost char */
}
,
{NULL}
diff --git a/src/ptlink.c b/src/ptlink.c
index 28d05c47e..2e7e4a436 100644
--- a/src/ptlink.c
+++ b/src/ptlink.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ NULL, /* vhost char */
}
,
{NULL}
diff --git a/src/rageircd.c b/src/rageircd.c
index d63a71265..f901a1b39 100644
--- a/src/rageircd.c
+++ b/src/rageircd.c
@@ -103,6 +103,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "x", /* vhost char */
},
{NULL}
};
@@ -664,7 +665,7 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -x", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostchar);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
diff --git a/src/solidircd.c b/src/solidircd.c
index d536f988a..ba4e212a6 100644
--- a/src/solidircd.c
+++ b/src/solidircd.c
@@ -104,6 +104,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "v", /* vhost char */
}
,
{NULL}
@@ -1516,7 +1517,7 @@ void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -v", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostchar);
}
void anope_cmd_chghost(char *nick, char *vhost)
diff --git a/src/ultimate2.c b/src/ultimate2.c
index 512c17d0b..fdccb13b7 100644
--- a/src/ultimate2.c
+++ b/src/ultimate2.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "x", /* vhost char */
}
,
{NULL}
diff --git a/src/ultimate3.c b/src/ultimate3.c
index 62f5bbdd2..d9a64f3a5 100644
--- a/src/ultimate3.c
+++ b/src/ultimate3.c
@@ -104,6 +104,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
1, /* Sglines are enforced */
+ "x", /* vhost char */
},
{NULL}
};
@@ -708,7 +709,7 @@ void anope_cmd_remove_akill(char *user, char *host)
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -x", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostchar);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
diff --git a/src/unreal31.c b/src/unreal31.c
index e0d233e2d..5f0bc8a0e 100644
--- a/src/unreal31.c
+++ b/src/unreal31.c
@@ -105,6 +105,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "x", /* vhost char */
},
{NULL}
};
@@ -507,7 +508,7 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
void anope_cmd_vhost_off(User * u)
{
send_cmd(s_HostServ, "SVSMODE %s -xt", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostchar);
}
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
diff --git a/src/unreal32.c b/src/unreal32.c
index dd1bef746..406b46384 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -104,6 +104,7 @@ IRCDVar ircd[] = {
'\"', /* SJOIN except char */
1, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "x", /* vhost char */
},
{NULL}
};
@@ -752,7 +753,7 @@ void anope_cmd_vhost_off(User * u)
send_cmd(s_HostServ, "%s %s -xt", send_token("SVSMODE", "n"),
u->nick);
}
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostchar);
}
void anope_cmd_akill(char *user, char *host, char *who, time_t when,
diff --git a/src/viagra.c b/src/viagra.c
index 2e4a1bc03..209f8440b 100644
--- a/src/viagra.c
+++ b/src/viagra.c
@@ -102,6 +102,7 @@ IRCDVar ircd[] = {
0, /* SJOIN except char */
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
+ "x", /* vhost char */
}
,
{NULL}
@@ -792,7 +793,7 @@ void anope_cmd_topic(char *whosets, char *chan, char *whosetit,
void anope_cmd_vhost_off(User * u)
{
send_cmd(NULL, "SVSMODE %s -x", u->nick);
- notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick);
+ notice_lang(s_HostServ, u, HOST_OFF_UNREAL, u->nick, ircd->vhostcar);
}
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)