… | |
… | |
63 | /******************************************************************************/ |
63 | /******************************************************************************/ |
64 | |
64 | |
65 | /* Checks a player-provided string which will become the msg property of |
65 | /* Checks a player-provided string which will become the msg property of |
66 | * an object for dangerous input. |
66 | * an object for dangerous input. |
67 | */ |
67 | */ |
68 | bool |
68 | bool |
69 | msg_is_safe (const char *msg) |
69 | msg_is_safe (const char *msg) |
70 | { |
70 | { |
71 | bool safe = true; |
71 | bool safe = true; |
72 | |
72 | |
73 | /* Trying to cheat by getting data into the object */ |
73 | /* Trying to cheat by getting data into the object */ |