Changeset 92c8d41 for irc.h


Ignore:
Timestamp:
2010-06-26T21:26:41Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e907683
Parents:
41d415b
Message:

Remember in which channel the user talked to someone and show responses in
that same channel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    r41d415b r92c8d41  
    6666        struct irc_user *user;
    6767       
    68         char *last_root_cmd;
     68        char *last_root_cmd; /* Either the nickname from which the last root
     69                                msg came, or the last channel root was talked
     70                                to. */
    6971
    7072        char *password; /* HACK: Used to save the user's password, but before
     
    8082        struct irc_channel *default_channel;
    8183        GHashTable *nick_user_hash;
    82         GHashTable *watches;
     84        GHashTable *watches; /* See irc_cmd_watch() */
    8385
    8486        gint r_watch_source_id;
     
    9193typedef enum
    9294{
    93         IRC_USER_PRIVATE = 1,
     95        /* Replaced with iu->last_channel IRC_USER_PRIVATE = 1, */
    9496        IRC_USER_AWAY = 2,
    9597} irc_user_flags_t;
     
    108110       
    109111        irc_user_flags_t flags;
     112        struct irc_channel *last_channel;
    110113       
    111114        GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */
Note: See TracChangeset for help on using the changeset viewer.