mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 17:20:21 +00:00
Initial support for lastlog -r on win32 (Richard)
This commit is contained in:
committed by
Berke Viktor
parent
0d36e0cd2f
commit
ead7f234e5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user