… | |
… | |
2330 | { |
2330 | { |
2331 | new_draw_info (NDI_UNIQUE, 0, op, "Write what?"); |
2331 | new_draw_info (NDI_UNIQUE, 0, op, "Write what?"); |
2332 | return 0; |
2332 | return 0; |
2333 | } |
2333 | } |
2334 | |
2334 | |
2335 | if (strcasestr_local (msg, "endmsg")) |
2335 | if (!msg_is_safe (msg)) |
2336 | { |
2336 | { |
2337 | new_draw_info (NDI_UNIQUE, 0, op, "Trying to cheat are we?"); |
2337 | new_draw_info (NDI_UNIQUE, 0, op, "Trying to cheat are we?"); |
2338 | LOG (llevInfo, "write_rune: player %s tried to write bogus rune %s\n", &op->name, msg); |
2338 | LOG (llevInfo, "write_mark: player %s tried to write bogus rune %s\n", &op->name, msg); |
2339 | return 0; |
2339 | return 0; |
2340 | } |
2340 | } |
2341 | |
2341 | |
2342 | if (!spell->other_arch) |
2342 | if (!spell->other_arch) |
2343 | return 0; |
2343 | return 0; |