diff options
author | Haru <haru@dotalux.com> | 2016-01-08 14:41:38 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-24 21:00:32 +0100 |
commit | 9ee166316cded9aad0ace7e13f43a406f0e5400c (patch) | |
tree | 7b73c9def37bf9e04d737b8d7549875482b60023 /src/map/irc-bot.c | |
parent | 4b873e6e6520e827aae689bf15dd6adac97473f7 (diff) | |
download | hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.gz hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.bz2 hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.xz hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.zip |
Removed several unnecessary explicit casts of the WFIFOP result
Signed-off-by: Haru <haru@dotalux.com>
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 c38d3064c..b520e9e91 100644 --- a/src/map/irc-bot.c +++ b/src/map/irc-bot.c @@ -245,7 +245,7 @@ void irc_send(char *str) { if (len > IRC_MESSAGE_LENGTH-3) len = IRC_MESSAGE_LENGTH-3; WFIFOHEAD(ircbot->fd, len); - snprintf((char*)WFIFOP(ircbot->fd,0),IRC_MESSAGE_LENGTH, "%s\r\n", str); + snprintf(WFIFOP(ircbot->fd,0),IRC_MESSAGE_LENGTH, "%s\r\n", str); WFIFOSET(ircbot->fd, len); } |