1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 06:26:36 +02:00

BUILD : 1.7.19 (1278) BUGS : 683, 767 NOTES : [1] typo in en_us.l [2] Provided by katsklaws patch: inspircd11 protocol now uses svshold.

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@996 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-08-28 03:09:22 +00:00
parent eaa1e65e38
commit f539caac0d
4 changed files with 21 additions and 5 deletions
+2
View File
@@ -19,6 +19,8 @@ Anope Version S V N
08/27 F Is not posible to use CS SET XOP when cs_xop is not loaded. [#747]
08/27 F SA and SO can be kicked by ChanServ now. [#753]
08/27 F Added missed help for NS CONFIRM. [#759]
08/27 F Fixed typo in en_us.l [#767]
08/27 F inspircd11 protocol now uses svshold [#683]
Anope Version 1.7.19
--------------------
+1 -1
View File
@@ -3830,7 +3830,7 @@ NICK_HELP_RECOVER
user online with the same nickname as the user you're
trying to recover your nick from. This causes the IRC
servers to disconnect the other user. This fake user will
will remain online for one minute to ensure that the other
remain online for one minute to ensure that the other
user does not immediately reconnect; after that minute, you
can reclaim your nick. Alternatively, use the RELEASE
command (%R%S HELP RELEASE) to get the nick
+13 -3
View File
@@ -382,6 +382,7 @@ CUMode myCumodes[128] = {
int has_servicesmod = 0;
int has_globopsmod = 0;
int has_svsholdmod = 0;
void inspircd_set_umode(User * user, int ac, char **av)
{
@@ -1487,6 +1488,7 @@ int anope_event_capab(char *source, int ac, char **av)
/* reset CAPAB */
has_servicesmod = 0;
has_globopsmod = 0;
has_svsholdmod = 0;
} else if (strcasecmp(av[0], "MODULES") == 0) {
if (strstr(av[1], "m_globops.so")) {
has_globopsmod = 1;
@@ -1494,6 +1496,9 @@ int anope_event_capab(char *source, int ac, char **av)
if (strstr(av[1], "m_services.so")) {
has_servicesmod = 1;
}
if (strstr(av[1], "m_svshold.so")) {
has_svsholdmod = 1;
}
} else if (strcasecmp(av[0], "END") == 0) {
if (has_globopsmod == 0) {
send_cmd(NULL,
@@ -1533,13 +1538,18 @@ int anope_event_capab(char *source, int ac, char **av)
/* SVSHOLD - set */
void inspircd_cmd_svshold(char *nick)
{
/* Not supported by this IRCD */
if (has_svsholdmod == 1) {
send_cmd(s_OperServ, "SVSHOLD %s %ds :%s", nick, NSReleaseTimeout,
"Being held for registered user");
}
}
/* SVSHOLD - release */
void inspircd_cmd_release_svshold(char *nick)
{
/* Not Supported by this IRCD */
if (has_svsholdmod == 1) {
send_cmd(s_OperServ, "SVSHOLD %s", nick);
}
}
/* UNSGLINE */
@@ -1794,7 +1804,7 @@ int AnopeInit(int argc, char **argv)
moduleAddAuthor("Anope");
moduleAddVersion
("$Id: inspircd.c 1207 2006-12-10 12:27:56Z geniusdex $");
("$Id: inspircd11.c 2007-08-27 20:45 GMT -5 katsklaw $");
moduleSetType(PROTOCOL);
pmodule_ircd_version("inspircdIRCd 1.1");
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
VERSION_BUILD="1277"
VERSION_BUILD="1278"
# $Log$
#
# BUILD : 1.7.19 (1278)
# BUGS : 683, 767
# NOTES : [1] typo in en_us.l [2] Provided by katsklaws patch: inspircd11 protocol now uses svshold.
#
# BUILD : 1.7.19 (1277)
# BUGS : 759
# NOTES : Added missed NS CONFIRM help.