X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/425d73692e6f0d475448f202bb5e16863744828e..bb668fcf666c70130d77a458e7d3d805e1694b70:/gameserv/gameserv.cpp?ds=inline diff --git a/gameserv/gameserv.cpp b/gameserv/gameserv.cpp index fe88ad2..e0a9b66 100644 --- a/gameserv/gameserv.cpp +++ b/gameserv/gameserv.cpp @@ -1131,6 +1131,12 @@ void do_run(char *u) return; } + else if (!is_playing(user)) + { + notice(s_GameServ, u, "You must be playing to use items!"); + return; + } + p = user->stats; if (p->battle)