diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-02 21:48:09 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-02 21:48:09 +0000 | 
| commit | 0fbda19314c806e3e677847f3c977eb5a1bc2b61 (patch) | |
| tree | c858cf146371845ae09eb4e65fb595948e61edc1 /irc.c | |
| parent | f774e01cdb34e339455671f51413ecdc6de3208d (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.c | 11 | 
1 files changed, 0 insertions, 11 deletions
| @@ -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 ) | 
