diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-22 02:13:36 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-22 02:13:36 +0200 |
commit | 22cde0e5a20ec4663fc1686ef803d7e16a18c6a8 (patch) | |
tree | 342409aba1c615351dfb5fde1045b381f14550c6 /src/common/xchat.c | |
parent | 6533b75313bb4019dd04345c6544b9e1dd1404ae (diff) |
Make GREP work on Windows, regexp support isn't implemented in fe_lastlog yet
Diffstat (limited to 'src/common/xchat.c')
-rw-r--r-- | src/common/xchat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c index f90a6291..52fb29a2 100644 --- a/src/common/xchat.c +++ b/src/common/xchat.c @@ -591,7 +591,11 @@ static char defaultconf_commands[] = "NAME DIALOG\n" "CMD query %2\n\n"\ "NAME DMSG\n" "CMD msg =%2 &3\n\n"\ "NAME EXIT\n" "CMD quit\n\n"\ +#ifdef WIN32 /* lastlog -r isn't implemented in fe_lastlog yet */ + "NAME GREP\n" "CMD lastlog &2\n\n"\ +#else "NAME GREP\n" "CMD lastlog -r &2\n\n"\ +#endif "NAME IGNALL\n" "CMD ignore %2!*@* ALL\n\n"\ "NAME J\n" "CMD join &2\n\n"\ "NAME KILL\n" "CMD quote KILL %2 :&3\n\n"\ |