summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-05 21:39:38 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-05 21:39:38 +0000
commiteda321aa90bfb714013fc2651c671f2415b5280a (patch)
treeec4c84789045db21301c7d6e7493d38f2be7f0ad
parent4e11583205327ce9d65c744473baff28d54979b3 (diff)
Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1425 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes2
-rw-r--r--Changes.conf2
-rw-r--r--Changes.lang2
-rw-r--r--Changes.mysql2
-rw-r--r--src/rdb.c12
-rw-r--r--src/send.c2
-rw-r--r--version.log4
7 files changed, 15 insertions, 11 deletions
diff --git a/Changes b/Changes
index 811b25906..eda459a15 100644
--- a/Changes
+++ b/Changes
@@ -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
diff --git a/src/rdb.c b/src/rdb.c
index 6c2d8c181..09b2aacf4 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -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.