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

BUILD : 1.7.6 (462) BUGS : 226 NOTES : 1. RageIRCD sends TSMODE which is part of their beta7 2. RageIRCD protocol file now has anope_cmd_chghost() 3. RageIRCD SVINFO more in line with what we get 4. Bahamut protocol file now has anope_cmd_chghost() to prevent undefined symbol messages 5. Bahamut SZLINE and UNSZLINE dealt with per documentation, left the old commands behind for now, till we decide to move our base Bahamut version forward

git-svn-id: svn://svn.anope.org/anope/trunk@462 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@316 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-11-24 05:14:41 +00:00
parent 9233f879d1
commit c55942927e
4 changed files with 39 additions and 5 deletions
+1
View File
@@ -10,6 +10,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2004
11/21 A Opened SGLINE to all ircd that support GEOS bans [ #00]
11/21 A Opened SZLINE to all ircd that support ZLINE's [ #00]
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/23 F Rage 2 updated to support BETA 7 [#226]
11/23 F PTLink anope_cmd_server() message [ #00]
11/20 F Disables UseRDB if there is an error duing SQL init [ #00]
11/20 F MS CHECK now checks if the nick is forbidden. [#225]
+16
View File
@@ -676,13 +676,20 @@ void anope_cmd_unsgline(char *mask)
/* UNSZLINE */
void anope_cmd_unszline(char *mask)
{
/* this will likely fail so its only here for legacy */
send_cmd(NULL, "UNSZLINE 0 %s", mask);
/* this is how we are supposed to deal with it */
send_cmd(NULL, "RAKILL %s *", mask);
}
/* SZLINE */
void anope_cmd_szline(char *mask, char *reason, char *whom)
{
/* this will likely fail so its only here for legacy */
send_cmd(NULL, "SZLINE %s :%s", mask, reason);
/* this is how we are supposed to deal with it */
send_cmd(NULL, "AKILL %s * %d %s %ld :%s", mask, 86400 * 2, whom,
(long int) time(NULL), reason);
}
/* SVSNOOP */
@@ -1647,4 +1654,13 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
send_cmd(source, "%s NOTICE :\1%s \1", dest, s);
}
/* this avoids "undefined symbol" messages of those whom try to load mods that
call on this function */
void anope_cmd_chghost(char *nick, char *vhost)
{
if (debug) {
alog("debug: This IRCD does not support vhosting");
}
}
#endif
+12 -4
View File
@@ -641,6 +641,14 @@ void anope_cmd_vhost_off(User * u)
void anope_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
{
send_cmd(s_HostServ, "SVSMODE %s +x", nick);
anope_cmd_chghost(nick, vhost);
}
void anope_cmd_chghost(char *nick, char *vhost)
{
if (!nick || !vhost) {
return;
}
send_cmd(ServerName, "VHOST %s %s", nick, vhost);
}
@@ -720,13 +728,13 @@ void anope_cmd_connect(int servernum)
void anope_cmd_svinfo()
{
send_cmd(NULL, "SVINFO 5 5 0 %ld bluemoon 0", (long int) time(NULL));
send_cmd(NULL, "SVINFO 5 3 0 %ld bluemoon 0", (long int) time(NULL));
}
void anope_cmd_capab()
{
/* future versions will support TSMODE */
send_cmd(NULL, "CAPAB BURST UNCONNECT SSJ3 SN2 VHOST");
/* CAPAB BURST UNCONNECT ZIP SSJ3 SN2 VHOST SUID TOK1 TSMODE */
send_cmd(NULL, "CAPAB BURST UNCONNECT SSJ3 SN2 VHOST TSMODE");
}
void anope_cmd_server(char *servname, int hop, char *descript)
@@ -939,7 +947,7 @@ void anope_cmd_mode(char *source, char *dest, const char *fmt, ...)
}
if (ircdcap->tsmode) {
if (uplink_capab & ircdcap->tsmode) {
if (uplink_capab & ircdcap->tsmode || UseTSMODE) {
send_cmd(source, "MODE %s 0 %s", dest, buf);
} else {
send_cmd(source, "MODE %s %s", dest, buf);
+10 -1
View File
@@ -8,10 +8,19 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
VERSION_BUILD="461"
VERSION_BUILD="462"
# $Log$
#
# BUILD : 1.7.6 (462)
# BUGS : 226
# NOTES : 1. RageIRCD sends TSMODE which is part of their beta7
# 2. RageIRCD protocol file now has anope_cmd_chghost()
# 3. RageIRCD SVINFO more in line with what we get
# 4. Bahamut protocol file now has anope_cmd_chghost() to prevent undefined symbol messages
# 5. Bahamut SZLINE and UNSZLINE dealt with per documentation, left the old commands behind
# for now, till we decide to move our base Bahamut version forward
#
# BUILD : 1.7.6 (461)
# BUGS : 230
# NOTES : 1. Moving Services Operators to Services Admins and vice-versa (230), 2. PTlink anope_cmd_server() had a minor