mirror of
https://github.com/anope/anope.git
synced 2026-07-04 04:03:12 +02:00
BUILD : 1.7.8 (633) BUGS : none NOTES : OS SET SQL ON shall warn about SQL disabled in services.conf
git-svn-id: svn://svn.anope.org/anope/trunk@633 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@481 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
e8275af54a
commit
7983a0acbd
@@ -48,6 +48,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2005
|
||||
03/14 R Removed some old irc-services convertor ifdef's [#317]
|
||||
|
||||
Provided by DrStein <drstein@anope.org> - 2005
|
||||
03/17 A OS SET SQL ON shall warn about SQL disabled in services.conf [ #00]
|
||||
03/15 A ChanServ will now include the channel name in SET's responses [#318]
|
||||
03/15 F ChanServ's do_getkey() function is now using notice_lang() [#319]
|
||||
03/14 F Updated docs/FAQ. [#312]
|
||||
|
||||
@@ -6,6 +6,7 @@ Anope Version S V N
|
||||
CHAN_GETKEY_SYNTAX
|
||||
CHAN_GETKEY_NOKEY
|
||||
CHAN_GETKEY_KEY
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
|
||||
*** Mod Strings:
|
||||
OPER_HELP_SET
|
||||
|
||||
@@ -2702,6 +2702,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2694,6 +2694,9 @@ OPER_SET_SQL_ERROR
|
||||
Einstellungen für SQL können nur ON oder OFF sein.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
SQL FEHLER, schaue bitte in deine Logs nach um zu sehen wie du es berichtigen kannst.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s ist eingeschaltet
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2626,6 +2626,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2667,17 +2667,20 @@ OPER_SET_NOEXPIRE_ERROR
|
||||
OPER_SET_UNKNOWN_OPTION
|
||||
Opcion %s desconocida.
|
||||
OPER_SET_SQL_ON
|
||||
SQL code will be used.
|
||||
El codigo SQL sera usado.
|
||||
OPER_SET_SQL_OFF
|
||||
SQL code will not be used.
|
||||
El codigo SQL no sera usado.
|
||||
OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
Opciones para SQL son ON o OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
Error durante el inicio de SQL, revisa tus logs para corregir.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL no esta configurado para esta red. Por favor edita
|
||||
el archivo de configuracion (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
%s esta habilitado
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
%s is disabled
|
||||
%s esta deshabilitado
|
||||
|
||||
# NOOP responses
|
||||
OPER_NOOP_SYNTAX
|
||||
|
||||
@@ -2714,6 +2714,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2692,6 +2692,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2655,6 +2655,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2699,6 +2699,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2670,6 +2670,9 @@ OPER_SET_SQL_ERROR
|
||||
Instelling voor SQL moet ON of OFF zijn.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Fout tijdens het initialiseren van SQL. Controleer de logs om dit op te lossen.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is ingeschakeld
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2877,6 +2877,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2640,6 +2640,9 @@ OPER_SET_SQL_ERROR
|
||||
Ajuste para SQL deve ser ON ou OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Erro durante inicialização de SQL, verifique seus logs para corrigir.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s está ativada
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2666,6 +2666,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
@@ -2697,6 +2697,9 @@ OPER_SET_SQL_ERROR
|
||||
Setting for SQL must be ON or OFF.
|
||||
OPER_SET_SQL_ERROR_INIT
|
||||
Error during init of SQL, check your logs to correct.
|
||||
OPER_SET_SQL_ERROR_DISABLED
|
||||
SQL is not configured for this network. Please edit the
|
||||
configuration file (services.conf).
|
||||
OPER_SET_LIST_OPTION_ON
|
||||
%s is enable
|
||||
OPER_SET_LIST_OPTION_OFF
|
||||
|
||||
+14
-6
@@ -4564,15 +4564,23 @@ static int do_set(User * u)
|
||||
#ifdef USE_MYSQL
|
||||
} else if (stricmp(option, "SQL") == 0) {
|
||||
if (stricmp(setting, "on") == 0) {
|
||||
if (rdb_init()) {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ON);
|
||||
if (!MysqlHost) {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ERROR_DISABLED);
|
||||
} else {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ERROR_INIT);
|
||||
if (rdb_init()) {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ON);
|
||||
} else {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ERROR_INIT);
|
||||
}
|
||||
}
|
||||
} else if (stricmp(setting, "off") == 0) {
|
||||
/* could call rdb_close() but that does nothing - TSL */
|
||||
do_mysql = 0;
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_OFF);
|
||||
if (!MysqlHost) {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ERROR_DISABLED);
|
||||
} else {
|
||||
/* could call rdb_close() but that does nothing - TSL */
|
||||
do_mysql = 0;
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_OFF);
|
||||
}
|
||||
} else {
|
||||
notice_lang(s_OperServ, u, OPER_SET_SQL_ERROR);
|
||||
}
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="632"
|
||||
VERSION_BUILD="633"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.8 (633)
|
||||
# BUGS : none
|
||||
# NOTES : OS SET SQL ON shall warn about SQL disabled in services.conf
|
||||
#
|
||||
# BUILD : 1.7.8 (632)
|
||||
# BUGS : 315
|
||||
# NOTES : 422 is sent if the file dosnt exist, 375 and 376 are no longer sent, if the error numeric is sent.
|
||||
|
||||
Reference in New Issue
Block a user