Fix const qualifier on raw_mask
Fixes compilation warning about losing const qualifier in assignment to non-const variable (cherry picked from commit 6d9c3f50944e1da3bf3a1be6454f85d6d6f7ab37)
This commit is contained in:
parent
0c5e50f430
commit
cea0689e80
1 changed files with 2 additions and 1 deletions
|
@ -741,7 +741,8 @@ chm_ban(struct Client *source_p, struct Channel *chptr,
|
|||
int alevel, int parc, int *parn,
|
||||
const char **parv, int *errors, int dir, char c, long mode_type)
|
||||
{
|
||||
char *mask, *raw_mask, *forward;
|
||||
const char *mask, *raw_mask;
|
||||
char *forward;
|
||||
rb_dlink_list *list;
|
||||
rb_dlink_node *ptr;
|
||||
struct Ban *banptr;
|
||||
|
|
Loading…
Reference in a new issue