aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-02-02 21:48:09 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-02-02 21:48:09 +0000
commit0fbda19314c806e3e677847f3c977eb5a1bc2b61 (patch)
treec858cf146371845ae09eb4e65fb595948e61edc1 /irc.c
parentf774e01cdb34e339455671f51413ecdc6de3208d (diff)
Added help_free() and cleaned up some very stale help-related stuff I
wasn't even aware of. This closes bug #352.
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/irc.c b/irc.c
index 972e030e..2510e3d9 100644
--- a/irc.c
+++ b/irc.c
@@ -188,7 +188,6 @@ void irc_free(irc_t * irc)
{
account_t *account;
user_t *user, *usertmp;
- help_t *helpnode, *helpnodetmp;
log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );
@@ -265,16 +264,6 @@ void irc_free(irc_t * irc)
g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL);
g_hash_table_destroy(irc->watches);
- if (irc->help != NULL) {
- helpnode = irc->help;
- while (helpnode != NULL) {
- g_free(helpnode->string);
-
- helpnodetmp = helpnode;
- helpnode = helpnode->next;
- g_free(helpnodetmp);
- }
- }
g_free(irc);
if( global.conf->runmode == RUNMODE_INETD || global.conf->runmode == RUNMODE_FORKDAEMON )