This commit is contained in:
joonicks
2018-03-27 01:48:21 +02:00
parent c44d8598c6
commit d7121a6b1f
18 changed files with 288 additions and 70 deletions

View File

@@ -521,6 +521,7 @@ recheck_alias:
CurrentCmd = &mcmd[i];
#ifdef SUPPRESS
#ifdef BOTNET
// experimental command supression
if (CurrentCmd->name == current->supres_cmd)
@@ -540,12 +541,12 @@ recheck_alias:
}
}
//if command should be supressed ...
if (CurrentChan)
if (mcmd[i].supres && CurrentChan)
{
send_supress(CurrentCmd->name,rest);
send_suppress(CurrentCmd->name,rest);
}
#endif
#endif /* SUPPRESS */
/*
* convert the command to uppercase
*/