Remember who set the topic and when, display the info when using /TOPIC.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@845 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-17 14:59:32 +00:00 committed by cras
commit 2edcdd715f
4 changed files with 68 additions and 7 deletions

View file

@ -3,6 +3,8 @@
#include "window-item-rec.h"
char *topic;
char *topic_by;
time_t topic_time;
GHashTable *nicks; /* list of nicks */
int no_modes:1; /* channel doesn't support modes */

View file

@ -78,6 +78,7 @@ void channel_destroy(CHANNEL_REC *channel)
MODULE_DATA_DEINIT(channel);
g_free_not_null(channel->topic);
g_free_not_null(channel->topic_by);
g_free_not_null(channel->key);
g_free(channel->mode);
g_free(channel->name);