diff options
Diffstat (limited to 'src/map/irc-bot.c')
-rw-r--r-- | src/map/irc-bot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/irc-bot.c b/src/map/irc-bot.c index fa4216f18..c38d3064c 100644 --- a/src/map/irc-bot.c +++ b/src/map/irc-bot.c @@ -151,7 +151,7 @@ int irc_parse(int fd) { return 0; parse_string = aMalloc(RFIFOREST(fd)); - safestrncpy(parse_string, (char*)RFIFOP(fd,0), RFIFOREST(fd)); + safestrncpy(parse_string, RFIFOP(fd,0), RFIFOREST(fd)); RFIFOSKIP(fd, RFIFOREST(fd)); RFIFOFLUSH(fd); |