diff options
-rw-r--r-- | src/irc/core/bans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/bans.c b/src/irc/core/bans.c index 236f80e5..774587cf 100644 --- a/src/irc/core/bans.c +++ b/src/irc/core/bans.c @@ -180,7 +180,7 @@ static void command_set_ban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC if (strcmp(data, "*") != 0) cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); /* /BAN * or /UNBAN * - ban/unban everyone */ - nicks = data; + nicks = (char *) data; } chanrec = channel_find(server, channel); |