aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-29 20:18:54 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-29 20:18:54 +0200
commitf7ca5877b69d452ef2e2ab4dc4d06743072deca0 (patch)
tree6ce785e43326ef0b638105eaf4ccc2b1760bfc43 /irc.h
parent2fe5eb939ff77697b578bf45ba23cd99daee9c5f (diff)
Restore default_target setting, kill last_root_cmd variable and just use
the last_channel variable, like for any other user.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/irc.h b/irc.h
index 9cacf13e..efc5cd40 100644
--- a/irc.h
+++ b/irc.h
@@ -66,10 +66,6 @@ typedef struct irc
struct irc_user *root;
struct irc_user *user;
- char *last_root_cmd; /* Either the nickname from which the last root
- msg came, or the last channel root was talked
- to. */
-
char *password; /* HACK: Used to save the user's password, but before
logging in, this may contain a password we should
send to identify after USER/NICK are received. */
@@ -154,6 +150,7 @@ typedef struct irc_channel
time_t topic_time;
GSList *users; /* struct irc_channel_user */
+ struct irc_user *last_target;
struct set *set;
GString *pastebuf; /* Paste buffer (combine lines into a multiline msg). */