summaryrefslogtreecommitdiff
path: root/src/irc/core/bans.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-04 00:04:02 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-04 00:04:02 +0000
commit841736a7d359dd7f9ba0238589965ea205102415 (patch)
tree4e55bb0d88fc3db8f3ba972af3d3c4281a6f0090 /src/irc/core/bans.c
parent3d39cded63a7661f49f8f111946ea9bd8672440e (diff)
downloadirssi-841736a7d359dd7f9ba0238589965ea205102415.zip
Removed a warning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@284 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/bans.c')
-rw-r--r--src/irc/core/bans.c2
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);