1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 20:43:12 +02:00

BUILD : 1.7.10 (871) BUGS : NOTES : Applied two patches by ThaPrince to add the correct nicks to SQLINE/SGLINE with plexus and ratbox

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@620 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-09-04 20:52:27 +00:00
parent 5e4760f2b5
commit 40b676e953
4 changed files with 33 additions and 10 deletions
+3
View File
@@ -49,6 +49,9 @@ Provided by Hal9000 <hal9000@musichat.net> - 2005
06/27 A Italian translations for modpack modules. [ #00]
06/25 F Updated Italian language file. [ #00]
Provided by ThaPrince <jon@vile.com> - 2005
09/04 F SGLINE/SQLINE for ratbox/plexus/etc needs a valid nick. [ #00]
Anope Version 1.7.10
--------------------
Provided by Anope Dev. <dev@anope.org> - 2005
+3 -3
View File
@@ -770,7 +770,7 @@ moduleAddIRCDMsgs (void)
void
plexus_cmd_sqline (char *mask, char *reason)
{
send_cmd (NULL, "RESV * %s :%s", mask, reason);
send_cmd (s_OperServ, "RESV * %s :%s", mask, reason);
}
void
@@ -843,7 +843,7 @@ plexus_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
void
plexus_cmd_unsqline (char *user)
{
send_cmd (NULL, "UNRESV * %s", user);
send_cmd (s_OperServ, "UNRESV * %s", user);
}
void
@@ -1356,7 +1356,7 @@ plexus_cmd_nick (char *nick, char *name, char *mode)
send_cmd (NULL, "NICK %s 1 %ld %s %s %s %s %s 0 :%s", nick,
(long int) time (NULL), mode, ServiceUser, ServiceHost,
"*", ServerName, (name));
plexus_cmd_sqline (nick, "Reserved for services");
send_cmd (nick, "RESV * %s :%s", nick, "Reserved for services");
}
void
+22 -6
View File
@@ -51,7 +51,7 @@ IRCDVar myIrcd[] = {
NULL, /* Mode On Reg */
NULL, /* Mode on UnReg */
NULL, /* Mode on Nick Change */
0, /* Supports SGlines */
1, /* Supports SGlines */
1, /* Supports SQlines */
0, /* Supports SZlines */
0, /* Supports Halfop +h */
@@ -753,12 +753,20 @@ void moduleAddIRCDMsgs(void)
void ratbox_cmd_sqline(char *mask, char *reason)
{
send_cmd(NULL, "RESV * %s :%s", mask, reason);
Uid *ud;
ud = find_uid(s_OperServ);
send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
"RESV * %s :%s", mask, reason);
}
void ratbox_cmd_unsgline(char *mask)
{
/* Does not support */
Uid *ud;
ud = find_uid(s_OperServ);
send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
"UNXLINE * %s", mask);
}
void ratbox_cmd_unszline(char *mask)
@@ -783,7 +791,11 @@ void ratbox_cmd_svsadmin(char *server, int set)
void ratbox_cmd_sgline(char *mask, char *reason)
{
/* does not support */
Uid *ud;
ud = find_uid(s_OperServ);
send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
"XLINE * %s 0 :%s", mask, reason);
}
void ratbox_cmd_remove_akill(char *user, char *host)
@@ -817,7 +829,11 @@ void ratbox_cmd_vhost_on(char *nick, char *vIdent, char *vhost)
void ratbox_cmd_unsqline(char *user)
{
send_cmd(NULL, "UNRESV * %s", user);
Uid *ud;
ud = find_uid(s_OperServ);
send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
"UNRESV * %s", user);
}
void ratbox_cmd_join(char *user, char *channel, time_t chantime)
@@ -1344,7 +1360,7 @@ void ratbox_cmd_nick(char *nick, char *name, char *mode)
(long int) time(NULL), mode, ServiceUser, ServiceHost,
ServerName, name);
}
ratbox_cmd_sqline(nick, "Reserved for services");
send_cmd(UseTS6 ? nicknumbuf : nick, "RESV * %s :%s", nick, "Reserved for services");
}
void ratbox_cmd_kick(char *source, char *chan, char *user, char *buf)
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="10"
VERSION_BUILD="870"
VERSION_BUILD="871"
# $Log$
#
# BUILD : 1.7.10 (871)
# BUGS :
# NOTES : Applied two patches by ThaPrince to add the correct nicks to SQLINE/SGLINE with plexus and ratbox
#
# BUILD : 1.7.10 (870)
# BUGS :
# NOTES : Move on, nothing to see here (typo fix in Changes)