about summary refs log tree commit diff stats
path: root/pcoin.cpp
diff options
context:
space:
mode:
authorlogin <login@tilde.team>2023-06-17 16:28:11 +0000
committerlogin <login@tilde.team>2023-06-17 16:28:11 +0000
commitb0a8b96345e3b9a09bd2c0674f8ff588f111a1f0 (patch)
tree6c8ca5bedf8a0e19179f844bc29009afbe2fdb51 /pcoin.cpp
parent281df6a9f1556d215390e503a18f4cbdba430b89 (diff)
downloadtcoin-b0a8b96345e3b9a09bd2c0674f8ff588f111a1f0.tar.gz
Negative krowbar balances for pcoin
Negative krowbar balances for pcoin too
Diffstat (limited to 'pcoin.cpp')
-rw-r--r--pcoin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index d2555bf..fc41672 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp
@@ -1906,7 +1906,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
             {