]> jfr.im git - irc/gameservirc.git/commitdiff
Changed the do_list to list logged in players by default instead of the other way...
authorkainazzzo <redacted>
Fri, 18 Jun 2004 14:42:19 +0000 (14:42 +0000)
committerkainazzzo <redacted>
Fri, 18 Jun 2004 14:42:19 +0000 (14:42 +0000)
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@253 bc333340-6410-0410-a689-9d09f3c113fa

gameserv/Changes
gameserv/gameserv.cpp
gameserv/helpfiles/list

index 8521728525b9c8b0da5d708dd75cdbd849ca8cfa..5474a84149b09471f6e05c7e983048fb9b5f00fb 100644 (file)
@@ -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
index f8dd0c47f7125c3eb2add34a376bcc11c6b54f2f..5ff6a75a8c8ab9f9171c92c4e61f1946e1900b04 100644 (file)
@@ -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)
                {
index 146b149409f0d69ee9cb5e21c96af742de7e16c4..49a1d20910869d08b10d99c7519cae6b1dc239fc 100644 (file)
@@ -1,4 +1,6 @@
 Lists the current players in the realm and their IRC Nicknames.
-SYNTAX: \ 2LIST\ 2 [\ 2\1fplaying\1f\ 2]
+Just /msg %S LIST lists all players currently logged in.
+/msg %S LIST ALL lists all existing players.
+SYNTAX: \ 2LIST\ 2 [\ 2\1fALL\1f\ 2]
 Example: /msg %S \ 2LIST\ 2
-Example: /msg %S \ 2LIST\ 2 \ 2PLAYING\ 2
+Example: /msg %S \ 2LIST\ 2 \ 2ALL\ 2