diff --git a/Changes b/Changes index 7e63893ed..0bb57ed43 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Anope Version S V N -------------------- Provided by Anope Dev. - 2005 02/04 A Events for channel kicks and NickServ logout. [ #00] +02/13 F Yet anotehr 64bit issue. [ #00] 01/14 F SGLines will now be removed correctly. [ #00] 01/26 F Export buildStringList() for modules. [#425] 02/11 F Fixed a few memleaks. [#420] diff --git a/src/misc.c b/src/misc.c index e44e4cb93..22e93565d 100644 --- a/src/misc.c +++ b/src/misc.c @@ -275,7 +275,7 @@ int process_numlist(const char *numstr, int *count_ret, { int n1, n2, i; int res = 0, retval = 0, count = 0; - va_list args; + va_list args,preserve; if (!numstr || !*numstr) { return -1; @@ -300,7 +300,9 @@ int process_numlist(const char *numstr, int *count_ret, } } for (i = n1; i <= n2 && i >= 0; i++) { - int res = callback(u, i, args); + VA_COPY(preserve,args); + int res = callback(u, i, preserve); + va_end(preserve); count++; if (res < 0) break;