]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
[svn] Repair operspy who !#channel, broken by me in r3283.
authorjilles <redacted>
Mon, 2 Apr 2007 22:03:08 +0000 (15:03 -0700)
committerjilles <redacted>
Mon, 2 Apr 2007 22:03:08 +0000 (15:03 -0700)
ChangeLog
include/serno.h
modules/m_who.c

index bf92b9c10349c3301cf5767179fefd5b5f9bc02c..7a201612598d76ce3320cb5be2312328c36a3404 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+jilles      2007/04/01 22:20:00 UTC    (20070401-3344)
+  Log:
+  Update bug report and IRC channel information.
+  
+
+  Changes:     Modified:
+  +2 -1                trunk/BUGS (File Modified) 
+  +2 -1                trunk/NEWS (File Modified) 
+
+
 jilles      2007/04/01 22:10:05 UTC    (20070401-3342)
   Log:
   Change copyright years in version.c.SH as in release-2.1 r3339.
index 4e4d0a3a78a1c9f48ffecded8cb84269d1a8b2a1..19f6cbd5150ad32b85782abb2fc9243d5ba682a0 100644 (file)
@@ -1 +1 @@
-#define SERNO "20070401-3342"
+#define SERNO "20070401-3344"
index 2bec0964ddebacd14293358f0357ce9772e2b879..e83ff4ce166f46b509feb7eeccb1b24508a56ace 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_who.c 3283 2007-03-28 13:11:30Z jilles $
+ *  $Id: m_who.c 3350 2007-04-02 22:03:08Z jilles $
  */
 #include "stdinc.h"
 #include "tools.h"
@@ -51,7 +51,7 @@ struct Message who_msgtab = {
 };
 
 mapi_clist_av1 who_clist[] = { &who_msgtab, NULL };
-DECLARE_MODULE_AV1(who, NULL, NULL, who_clist, NULL, NULL, "$Revision: 3283 $");
+DECLARE_MODULE_AV1(who, NULL, NULL, who_clist, NULL, NULL, "$Revision: 3350 $");
 
 static void do_who_on_channel(struct Client *source_p, struct Channel *chptr,
                              int server_oper, int member);
@@ -119,7 +119,7 @@ m_who(struct Client *client_p, struct Client *source_p, int parc, const char *pa
        if(IsChannelName(mask))
        {
                /* List all users on a given channel */
-               chptr = find_channel(parv[1]);
+               chptr = find_channel(parv[1] + operspy);
                if(chptr != NULL)
                {
                        if(operspy)
@@ -131,7 +131,7 @@ m_who(struct Client *client_p, struct Client *source_p, int parc, const char *pa
                                do_who_on_channel(source_p, chptr, server_oper, NO);
                }
                sendto_one(source_p, form_str(RPL_ENDOFWHO),
-                          me.name, source_p->name, parv[1]);
+                          me.name, source_p->name, parv[1] + operspy);
                return 0;
        }