… | |
… | |
361 | become_follower (ob, god); |
361 | become_follower (ob, god); |
362 | return 1; |
362 | return 1; |
363 | } |
363 | } |
364 | |
364 | |
365 | // TODO: Rewrite banish in perl and get rid of the following two functions |
365 | // TODO: Rewrite banish in perl and get rid of the following two functions |
366 | int |
366 | static int |
367 | command_kick (object *op, char *params) |
367 | command_kick (object *op, char *params) |
368 | { |
368 | { |
369 | for_all_players (pl) |
369 | for_all_players (pl) |
370 | if ((params == NULL || !strcmp (&pl->ob->name, params)) && !INVOKE_PLAYER (KICK, pl, ARG_STRING (params))) |
370 | if ((params == NULL || !strcmp (&pl->ob->name, params)) && !INVOKE_PLAYER (KICK, pl, ARG_STRING (params))) |
371 | { |
371 | { |
… | |
… | |
1218 | } |
1218 | } |
1219 | fclose (dmfile); |
1219 | fclose (dmfile); |
1220 | return (0); |
1220 | return (0); |
1221 | } |
1221 | } |
1222 | |
1222 | |
1223 | int |
1223 | static int |
1224 | do_wizard_dm (object *op, char *params, int silent) |
1224 | do_wizard_dm (object *op, char *params, int silent) |
1225 | { |
1225 | { |
1226 | if (!op->contr) |
1226 | if (!op->contr) |
1227 | return 0; |
1227 | return 0; |
1228 | |
1228 | |