forked from kyonshi/grenzland-mud
Updated for 2019 release
This commit is contained in:
@@ -100,7 +100,7 @@ void parse_edit_action(int command, char *string, struct descriptor_data *d)
|
||||
{
|
||||
int indent = 0, rep_all = 0, flags = 0, replaced, i, line_low, line_high, j = 0;
|
||||
unsigned int total_len;
|
||||
char *s, *t, temp;
|
||||
char *s, *t, temp, *c;
|
||||
char buf[MAX_STRING_LENGTH];
|
||||
char buf2[MAX_STRING_LENGTH - 1];
|
||||
|
||||
@@ -130,7 +130,7 @@ void parse_edit_action(int command, char *string, struct descriptor_data *d)
|
||||
break;
|
||||
}
|
||||
bool has_at = FALSE;
|
||||
for (char* c = *d->str; *c; ++c) {
|
||||
for (c = *d->str; *c; ++c) {
|
||||
if (*c == '@') {
|
||||
if (*(++c) != '@') {
|
||||
has_at = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user