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:
Douglas Freed 2014-01-26 10:02:07 +00:00 committed by Jilles Tjoelker
parent 0c5e50f430
commit cea0689e80

View file

@ -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;