mirror of
https://github.com/anope/anope.git
synced 2026-07-03 11:13:13 +02:00
Properly handle FMODEs from InspIRCd with more than 25 arguments.. reported by Angel-SL
This commit is contained in:
@@ -372,7 +372,7 @@ int anope_event_opertype(const char *source, int ac, const char **av)
|
||||
|
||||
int anope_event_fmode(const char *source, int ac, const char **av)
|
||||
{
|
||||
const char *newav[25];
|
||||
const char *newav[128];
|
||||
int n, o;
|
||||
Channel *c;
|
||||
|
||||
|
||||
@@ -411,7 +411,7 @@ int anope_event_opertype(const char *source, int ac, const char **av)
|
||||
|
||||
int anope_event_fmode(const char *source, int ac, const char **av)
|
||||
{
|
||||
const char *newav[25];
|
||||
const char *newav[128];
|
||||
int n, o;
|
||||
Channel *c;
|
||||
|
||||
|
||||
@@ -409,7 +409,7 @@ int anope_event_opertype(const char *source, int ac, const char **av)
|
||||
|
||||
int anope_event_fmode(const char *source, int ac, const char **av)
|
||||
{
|
||||
const char *newav[25];
|
||||
const char *newav[128];
|
||||
int n, o;
|
||||
Channel *c;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user