diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | Changes.conf | 2 | ||||
-rw-r--r-- | Changes.lang | 2 | ||||
-rw-r--r-- | Changes.mysql | 2 | ||||
-rw-r--r-- | src/rdb.c | 12 | ||||
-rw-r--r-- | src/send.c | 2 | ||||
-rw-r--r-- | version.log | 4 |
7 files changed, 15 insertions, 11 deletions
@@ -1,4 +1,4 @@ -Anope Version S V N +Anope Version 1.7.23 -------------------- 10/01 A Added modular database back-end for IGNORE. [#948] 09/18 R Removed password truncating. [ #00] diff --git a/Changes.conf b/Changes.conf index d78c47e7f..27699a96b 100644 --- a/Changes.conf +++ b/Changes.conf @@ -1,4 +1,4 @@ -Anope Version S V N +Anope Version 1.7.23 -------------------- ** ADDED CONFIGURATION DIRECTIVES ** # OSIgnoreDBName [OPTIONAL] diff --git a/Changes.lang b/Changes.lang index 3bfb0ea73..58242abbf 100644 --- a/Changes.lang +++ b/Changes.lang @@ -1,4 +1,4 @@ -Anope Version S V N +Anope Version 1.7.23 -------------------- *** New Strings: PASSWORD_TOO_LONG diff --git a/Changes.mysql b/Changes.mysql index a44f5dad6..7c531fc8b 100644 --- a/Changes.mysql +++ b/Changes.mysql @@ -1,4 +1,4 @@ -Anope Version S V N +Anope Version 1.7.23 -------------------- - NONE @@ -73,7 +73,7 @@ char *rdb_quote(char *str) * update, all rows with active still 0 will be deleted; this is done to * easily delete old entries from the database. */ -int rdb_tag_table(char *table) +int rdb_tag_table(const char* table) { #ifdef USE_MYSQL return db_mysql_try("UPDATE %s SET active = 0", table); @@ -84,7 +84,7 @@ int rdb_tag_table(char *table) } /* Be sure to quote all user input in the clause! */ -int rdb_tag_table_where(char *table, char *clause) +int rdb_tag_table_where(const char* table, const char* clause) { #ifdef USE_MYSQL return db_mysql_try("UPDATE %s SET active = 0 WHERE %s", table, @@ -98,7 +98,7 @@ int rdb_tag_table_where(char *table, char *clause) /*************************************************************************/ /* Empty an entire database table */ -int rdb_empty_table(char *table) +int rdb_empty_table(const char* table) { #ifdef USE_MYSQL return db_mysql_try("TRUNCATE TABLE %s", table); @@ -111,7 +111,7 @@ int rdb_empty_table(char *table) /*************************************************************************/ /* Clean up a table with 'dirty' records (active = 0) */ -int rdb_clean_table(char *table) +int rdb_clean_table(const char* table) { #ifdef USE_MYSQL return db_mysql_try("DELETE FROM %s WHERE active = 0", table); @@ -121,7 +121,7 @@ int rdb_clean_table(char *table) } /* Be sure to quote user input in the clause! */ -int rdb_clean_table_where(char *table, char *clause) +int rdb_clean_table_where(const char* table, const char* clause) { #ifdef USE_MYSQL return db_mysql_try("DELETE FROM %s WHERE active = 0 AND (%s)", table, @@ -136,7 +136,7 @@ int rdb_clean_table_where(char *table, char *clause) /* Delete specific records from a table. The clause is MySQL syntax, and * should be all quoted up nicely in the calling code. */ -int rdb_scrub_table(char *table, char *clause) +int rdb_scrub_table(const char* table, const char* clause) { #ifdef USE_MYSQL return db_mysql_try("DELETE FROM %s WHERE %s", table, clause); diff --git a/src/send.c b/src/send.c index 446020f35..0d4c6d4e9 100644 --- a/src/send.c +++ b/src/send.c @@ -67,7 +67,7 @@ void send_cmd(const std::string &source, const char *fmt, ...) if (!source.empty()) { sockprintf(servsock, ":%s %s\r\n", source.c_str(), buf); - eventprintf(":%s %s", source, buf); + eventprintf(":%s %s", source.c_str(), buf); if (debug) alog("debug: Sent: :%s %s", source.c_str(), buf); } diff --git a/version.log b/version.log index 0d1d1e5f1..1eb316888 100644 --- a/version.log +++ b/version.log @@ -13,6 +13,10 @@ VERSION_BUILD="" # $Log$ # +# BUILD : 1.7.23 (1465) +# BUGS : +# NOTES : Anope 1.7.23 Release +# # BUILD : 1.7.22 (1464) # BUGS : 951 # NOTES : Applied patch by katsklaw to add missing optional parameters to OS MODLIST help. |