+ do_list(source);
+ }
+ else if (stricmp(cmd, "LOGOUT") == 0)
+ {
+ do_logout(source);
+ }
+ else if (stricmp(cmd, "MASTER") == 0)
+ {
+ do_master(source);
+ }
+ else if (stricmp(cmd, "NEWS") == 0)
+ {
+ do_news(source);
+ }
+ else if (stricmp(cmd, "REGISTER") == 0)
+ {
+ do_register(source);
+ }
+ else if (stricmp(cmd, "REFRESH") == 0)
+ {
+ do_refresh(source);
+ }
+ else if (stricmp(cmd, "RESET") == 0)
+ {
+ do_reset(source);
+ }
+ else if (stricmp(cmd, "RUN") == 0)
+ {
+ do_run(source);
+ }
+ else if (stricmp(cmd, "SET") == 0)
+ {
+ do_set(source);
+ }
+ else if (stricmp(cmd, "STATS") == 0)
+ {
+ do_stats(source);
+ }
+ else if (stricmp(cmd, "STORE") == 0)
+ {
+ do_store(source);
+ }
+ else if (stricmp(cmd, "TAVERN") == 0)
+ {
+ do_tavern(source);
+ }
+ else if (stricmp(cmd, "USE") == 0)
+ {
+ do_use(source);
+ }
+ else if (stricmp(cmd, "SHUTDOWN") == 0)
+ {
+ aClient *user;
+
+ if (!(user = find(source)))
+ {
+ notice(s_GameServ, source, "Error: aClient not found. Contact a %S admin");
+ log("Error: aClient not found: %s", source);
+ }
+ else if (!isAdmin(user))
+ {
+ notice(s_GameServ, source, "You must be a %S admin to use this command!");
+ }
+ else
+ {
+ save_gs_dbase();
+#ifdef P10
+ raw("[] SQ %s 0 :leaving: %s used the Shutdown command.", servername, user->getRealNick());
+#else
+ raw("SQUIT %s :leaving: %s used the Shutdown command.", servername, source);
+#endif
+ shuttingdown = true;
+ }
+ }
+ else if (stricmp(cmd, "SAVE") == 0)
+ {
+ aClient *user;
+
+ if (!(user = find(source)))
+ {
+ notice(s_GameServ, source, "Error: aClient not found. Contact a %S admin");
+ log("Error: aClient not found: %s", source);
+ }
+ else if (!isAdmin(user))
+ {
+ notice(s_GameServ, source, "You must be a %S admin to use this command!");
+ }
+ else