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

Comparing deliantra/server/server/c_wiz.C (file contents):
Revision 1.74 by root, Fri Nov 6 12:27:06 2009 UTC vs.
Revision 1.75 by root, Fri Nov 6 12:49:19 2009 UTC

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
366int 366static int
367command_kick (object *op, char *params) 367command_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
1223int 1223static int
1224do_wizard_dm (object *op, char *params, int silent) 1224do_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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines