aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{