mirror of
https://github.com/anope/anope.git
synced 2026-06-30 08:36:38 +02:00
BUILD : 1.7.2 (77) BUGS : Compile errors on picky compilers NOTES : fixed a compile error on picky compilers
git-svn-id: svn://svn.anope.org/anope/trunk@77 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@53 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
cd24c74e8d
commit
f2ed3ecc8b
@@ -1757,13 +1757,13 @@ int moduleAddData(ModuleData * md[], char *key, char *value)
|
||||
char *mod_name = sstrdup(mod_current_module_name);
|
||||
|
||||
int index = 0;
|
||||
index = CMD_HASH(mod_name);
|
||||
ModuleData *current = NULL;
|
||||
ModuleData *newHash = NULL;
|
||||
ModuleData *lastHash = NULL;
|
||||
ModuleDataItem *item = NULL;
|
||||
ModuleDataItem *itemCurrent = NULL;
|
||||
ModuleDataItem *lastItem = NULL;
|
||||
index = CMD_HASH(mod_name);
|
||||
|
||||
for (current = md[index]; current; current = current->next) {
|
||||
if (strcasecmp(current->moduleName, mod_name) == 0)
|
||||
@@ -1828,11 +1828,10 @@ char *moduleGetData(ModuleData * md[], char *key)
|
||||
char *mod_name = sstrdup(mod_current_module_name);
|
||||
int index = 0;
|
||||
char *ret = NULL;
|
||||
index = CMD_HASH(mod_name);
|
||||
ModuleData *current = NULL;
|
||||
ModuleData *lastHash = NULL;
|
||||
|
||||
ModuleDataItem *itemCurrent = NULL;
|
||||
index = CMD_HASH(mod_name);
|
||||
|
||||
for (current = md[index]; current; current = current->next) {
|
||||
if (strcasecmp(current->moduleName, mod_name) == 0)
|
||||
@@ -1861,13 +1860,13 @@ void moduleDelData(ModuleData * md[], char *key)
|
||||
{
|
||||
char *mod_name = sstrdup(mod_current_module_name);
|
||||
int index = 0;
|
||||
index = CMD_HASH(mod_name);
|
||||
ModuleData *current = NULL;
|
||||
ModuleData *lastHash = NULL;
|
||||
|
||||
ModuleDataItem *itemCurrent = NULL;
|
||||
ModuleDataItem *prev = NULL;
|
||||
ModuleDataItem *next = NULL;
|
||||
index = CMD_HASH(mod_name);
|
||||
|
||||
for (current = md[index]; current; current = current->next) {
|
||||
if (strcasecmp(current->moduleName, mod_name) == 0)
|
||||
@@ -1904,13 +1903,13 @@ void moduleDelAllData(ModuleData * md[])
|
||||
{
|
||||
char *mod_name = sstrdup(mod_current_module_name);
|
||||
int index = 0;
|
||||
index = CMD_HASH(mod_name);
|
||||
ModuleData *current = NULL;
|
||||
ModuleData *lastHash = NULL;
|
||||
|
||||
ModuleDataItem *itemCurrent = NULL;
|
||||
ModuleDataItem *prev = NULL;
|
||||
ModuleDataItem *next = NULL;
|
||||
index = CMD_HASH(mod_name);
|
||||
|
||||
for (current = md[index]; current; current = current->next) {
|
||||
if (strcasecmp(current->moduleName, mod_name) == 0)
|
||||
|
||||
+5
-1
@@ -8,11 +8,15 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="2"
|
||||
VERSION_BUILD="76"
|
||||
VERSION_BUILD="77"
|
||||
VERSION_EXTRA=""
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.2 (77)
|
||||
# BUGS : Compile errors on picky compilers
|
||||
# NOTES : fixed a compile error on picky compilers
|
||||
#
|
||||
# BUILD : 1.7.2 (76)
|
||||
# BUGS :
|
||||
# NOTES : Added memoserv function to check whether the last memo you sent to a nick has been read or not. new cmd: /MS CHECK
|
||||
|
||||
Reference in New Issue
Block a user