ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_effect.C
(Generate patch)

Comparing deliantra/server/server/spell_effect.C (file contents):
Revision 1.108 by root, Fri Sep 18 03:38:29 2009 UTC vs.
Revision 1.109 by sf-marcmagus, Sun Oct 11 01:35:52 2009 UTC

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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines