diff options
author | Richard Hitt <rbh00@netcom.com> | 2012-07-25 22:12:42 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-25 22:14:27 +0200 |
commit | ead7f234e5e993eea7cf2f0e0059e463acc926fd (patch) | |
tree | 87c0c43a3d79ba65ebd46052e9f985f9d46eb4c2 /src/common/outbound.c | |
parent | 0d36e0cd2faec00de7601b432a7cac293eea0b24 (diff) |
Initial support for lastlog -r on win32 (Richard)
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index e083eff2..011deaeb 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -2386,13 +2386,13 @@ cmd_lastlog (struct session *sess, char *tbuf, char *word[], char *word_eol[]) if (*word_eol[2]) { if (!strcmp (word[2], "-r")) -#ifdef WIN32 - lastlog (sess, word_eol[3], FALSE); -#else + { lastlog (sess, word_eol[3], TRUE); -#endif + } else + { lastlog (sess, word_eol[2], FALSE); + } return TRUE; } |