/* +-------------------+ Christian Schlittchen | | Enno Rehling | Eressea PBEM host | Katja Zedel | (c) 1998 - 2003 | Henning Peters | | Ingo Wilken +-------------------+ Stefan Reich This program may not be used, modified or distributed without prior permission by the authors of Eressea. */ #include #include #include "gmcmd.h" #include /* misc includes */ #include #include /* kernel includes */ #include #include #include #include #include #include #include #include #include #include /* util includes */ #include #include #include #include /* libc includes */ #include #include #include #include static int read_permissions(variant *var, void *owner, struct gamedata *data) { attrib *a = NULL; UNUSED_ARG(var); read_attribs(data, &a, owner); a_remove(&a, a); return AT_READ_OK; } static int read_gmcreate(variant *var, void *owner, struct gamedata *data) { char zText[32]; UNUSED_ARG(var); READ_TOK(data->store, zText, sizeof(zText)); return AT_READ_OK; } void register_gmcmd(void) { at_deprecate("GM:create", read_gmcreate); at_deprecate("GM:permissions", read_permissions); }