diff options
| author | login <login@tilde.guru> | 2021-09-30 15:23:39 +0000 |
|---|---|---|
| committer | login <login@tilde.guru> | 2021-09-30 15:23:39 +0000 |
| commit | bd53b1ec0cf20e79828e8e95576a44f1eaf004db (patch) | |
| tree | 5a60ac794aa6ed3841ab8fabbc48d3526501b81e | |
| parent | 305ab2bd8c540fa5bf4702a52c5588830c871448 (diff) | |
| download | tcoin-bd53b1ec0cf20e79828e8e95576a44f1eaf004db.tar.gz | |
Simple mistake, !a || !b is wrong, !a && !b is correct
Simple logical mistake in checking for the TILDEGURU flag has been corrected in tcoin.cpp
| -rw-r--r-- | tcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ #ifndef KROWBAR_OFF #define KROWBAR_SCORE_PATH "/home/krowbar/Code/irc/data/tildescores.txt" #endif -#if !defined(TILDEINSTITUTE) || !defined(TILDEGURU) +#if !defined(TILDEINSTITUTE) && !defined(TILDEGURU) #define WHOAMI_PATH "/usr/bin/whoami" #else #define WHOAMI_PATH "/usr/bin/getent passwd $(/usr/bin/id -ru) | /usr/bin/cut -d: -f1" |