mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
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:
parent
090e88b34d
commit
2edcdd715f
4 changed files with 68 additions and 7 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue