summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/irc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/irc.c b/src/map/irc.c
index 0359c599e..621201fa4 100644
--- a/src/map/irc.c
+++ b/src/map/irc.c
@@ -140,10 +140,7 @@ int irc_parse(int fd)
{
if (session[fd]->eof){
do_close(fd);
- if (irc_si) {
- aFree(irc_si);
- irc_si = NULL;
- }
+ irc_si = NULL;
add_timer(gettick() + 15000, irc_connect_timer, 0, 0);
return 0;
}