From f7ca5877b69d452ef2e2ab4dc4d06743072deca0 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 29 Jul 2010 20:18:54 +0200 Subject: Restore default_target setting, kill last_root_cmd variable and just use the last_channel variable, like for any other user. --- irc.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'irc.h') 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). */ -- cgit v1.2.3