diff options
| author | Franklin Wei <franklin@fwei.tk> | 2014-06-23 11:47:32 -0400 |
|---|---|---|
| committer | Franklin Wei <franklin@fwei.tk> | 2014-06-23 11:47:32 -0400 |
| commit | 719be73360ebf8a65038a90ea82ea4e290759df1 (patch) | |
| tree | 73c279e4ef5b1939372225ce051c04d73a9e8227 /chatbot.c | |
| parent | 2f67051c045ed026d949d8578235b4f5a7fa4af5 (diff) | |
| download | wargames-server-719be73360ebf8a65038a90ea82ea4e290759df1.zip wargames-server-719be73360ebf8a65038a90ea82ea4e290759df1.tar.gz wargames-server-719be73360ebf8a65038a90ea82ea4e290759df1.tar.bz2 wargames-server-719be73360ebf8a65038a90ea82ea4e290759df1.tar.xz | |
Fixed GTN
Diffstat (limited to 'chatbot.c')
| -rw-r--r-- | chatbot.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -3,19 +3,6 @@ #include "strings.h" #include <games.h> #include <string.h> -void remove_punct(char* buf) -{ - for(int i=0;buf[i];++i) - { - for(int j=0;j<sizeof(punctuation_marks)/sizeof(char);++j) - { - if(buf[i]==punctuation_marks[j]) - { - memmove(&buf[i], &buf[i+1], strlen(buf)-i); - } - } - } -} void do_chatbot(void) { int stage=0; /* stage 0: i'm fine how are you... -> |