From: kainazzzo Date: Fri, 18 Jun 2004 14:42:19 +0000 (+0000) Subject: Changed the do_list to list logged in players by default instead of the other way... X-Git-Url: https://jfr.im/git/irc/gameservirc.git/commitdiff_plain/100c5e339d0dea7920337a7b0a29a3b1bd8285a3?hp=152a0a938610357511cebd78a2af02b0718d75d1 Changed the do_list to list logged in players by default instead of the other way around. git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@253 bc333340-6410-0410-a689-9d09f3c113fa --- diff --git a/gameserv/Changes b/gameserv/Changes index 8521728..5474a84 100644 --- a/gameserv/Changes +++ b/gameserv/Changes @@ -1,4 +1,6 @@ Version 1.2.4 +* Changed the command LIST so it only lists people who are playing. + To get a full list, use LIST ALL - kain * Added two new config file options which allow you to specify how long to wait before deleting level 1 and other levels' accounts separately - kain diff --git a/gameserv/gameserv.cpp b/gameserv/gameserv.cpp index f8dd0c4..5ff6a75 100644 --- a/gameserv/gameserv.cpp +++ b/gameserv/gameserv.cpp @@ -616,7 +616,7 @@ void do_list(char *u) { while(temp) { - if (!cmd || is_playing(temp->getData())) + if (cmd || is_playing(temp->getData())) { if (!header) { diff --git a/gameserv/helpfiles/list b/gameserv/helpfiles/list index 146b149..49a1d20 100644 --- a/gameserv/helpfiles/list +++ b/gameserv/helpfiles/list @@ -1,4 +1,6 @@ Lists the current players in the realm and their IRC Nicknames. -SYNTAX: LIST [playing] +Just /msg %S LIST lists all players currently logged in. +/msg %S LIST ALL lists all existing players. +SYNTAX: LIST [ALL] Example: /msg %S LIST -Example: /msg %S LIST PLAYING +Example: /msg %S LIST ALL