Author: Ghostwolf <foxxe@wtfs.net>
authorJoseph Bongaarts <foxxe@wtfs.net>
Thu, 14 Feb 2002 22:59:27 +0000 (22:59 +0000)
committerJoseph Bongaarts <foxxe@wtfs.net>
Thu, 14 Feb 2002 22:59:27 +0000 (22:59 +0000)
Log message:
Added support for LIST STOP

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@636 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_list.c

index c39b95bbe74ef4e60268ee2d3977625782b8bafc..d33c43fa218879696b6914ca6e4dc8b0260bced7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-14 Joseph Bongaarts <foxxe@wtfs.net>
+
+       * Added support for LIST STOP
+       
 2002-02-13 Joseph Bongaarts <foxxe@wtfs.net>
 
        * Merged changes from u2_10_11 to main branch.
index dc71963994cab1c49a7e72226cc65471740e179b..99177125134b1d581382df46fba0a67baadba4c7 100644 (file)
@@ -281,8 +281,8 @@ int m_list(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     cli_listing(sptr) = 0;
     send_reply(sptr, RPL_LISTEND);
     update_write(sptr);
-    if (parc < 2)
-      return 0;                 /* Let LIST abort a listing. */
+    if (parc < 2 || 0 == ircd_strcmp("STOP", parv[1]))
+      return 0;                 /* Let LIST or LIST STOP abort a listing. */
   }
 
   if (parc < 2)                 /* No arguments given to /LIST ? */