diff options
| author | login <login@tilde.team> | 2023-06-17 16:24:45 +0000 |
|---|---|---|
| committer | login <login@tilde.team> | 2023-06-17 16:24:45 +0000 |
| commit | 281df6a9f1556d215390e503a18f4cbdba430b89 (patch) | |
| tree | 0fc56d7624a09f77ea78b1d0cdcd20c3f1f13860 | |
| parent | 4d5a62ed30e9ea311d0521a4bd0c1bf4d7e117ae (diff) | |
| download | tcoin-281df6a9f1556d215390e503a18f4cbdba430b89.tar.gz | |
Allowing krowbar balance to be negative
Allowing krowbar balance to be negative
| -rw-r--r-- | tcoin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1692,7 +1692,9 @@ int main(int argc, char *argv[]) for(int i=0; i < 20; ++i) { - if(std::isdigit(line_c_string[irc_username_length+3+i])) + if(std::isdigit(line_c_string[irc_username_length+3+i]) + || line_c_string[irc_username_length+3+i] == '-' + || line_c_string[irc_username_length+3+i] == '.') number_of_tildes[i] = line_c_string[irc_username_length+3+i]; else { |