Moved lastmsgs variables from irc-server and channel structures to

irc-completion.

/MSG nick completion now gives the nicks in right time order when using
multiple irc networks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@568 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-31 23:09:39 +00:00 committed by cras
commit ce821e96a1
4 changed files with 181 additions and 59 deletions

View file

@ -1,3 +1,17 @@
#include "common.h"
#define MODULE_NAME "fe-common/irc"
typedef struct {
time_t time;
char *nick;
} LAST_MSG_REC;
typedef struct {
GSList *lastmsgs; /* List of nicks who last send you msg */
} MODULE_SERVER_REC;
typedef struct {
GSList *lastmsgs; /* List of nicks who last send message */
GSList *lastownmsgs; /* List of nicks who last send message to you */
} MODULE_CHANNEL_REC;