-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

        Fix for m_map.c and m_links.c so that Local Opers are picked up; essentialy, 
change the IsOper calls to IsAnOper calls.

Index: ChangeLog
===================================================================
RCS file: /home/coder-com/cvs/ircu2.10/ChangeLog,v
retrieving revision 1.290.2.123
diff -u -r1.290.2.123 ChangeLog
- --- ChangeLog 2002/09/02 15:34:35     1.290.2.123
+++ ChangeLog   2002/09/03 21:55:43
@@ -1,3 +1,10 @@
+2002-09-03  hikari <[EMAIL PROTECTED]>
+       * ircd/m_map.c: changed call from IsOper to IsAnOper to 
+       pickup locals.
+
+       * ircd/m_links.c: changed call from IsOper to IsAnOper to
+       pickup locals.
+
 2002-09-02  Kevin L Mitchell  <[EMAIL PROTECTED]>
 
        * include/patchlevel.h: release u2.10.11.00
Index: ircd/m_links.c
===================================================================
RCS file: /home/coder-com/cvs/ircu2.10/ircd/m_links.c,v
retrieving revision 1.8.2.1
diff -u -r1.8.2.1 m_links.c
- --- ircd/m_links.c    2002/07/17 22:55:40     1.8.2.1
+++ ircd/m_links.c      2002/09/03 21:55:44
@@ -114,7 +114,7 @@
   char *mask;
   struct Client *acptr;
 
- -  if (feature_bool(FEAT_HIS_LINKS) && !IsOper(sptr)) {
+  if (feature_bool(FEAT_HIS_LINKS) && !IsAnOper(sptr)) {
     send_reply(sptr, RPL_ENDOFLINKS, parc < 2 ? "*" : parv[1]);
     sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s %s", sptr,
                  "/LINKS has been disabled, from CFV-165.  Visit ", 
Index: ircd/m_map.c
===================================================================
RCS file: /home/coder-com/cvs/ircu2.10/ircd/m_map.c,v
retrieving revision 1.9.2.1
diff -u -r1.9.2.1 m_map.c
- --- ircd/m_map.c      2002/07/17 22:55:40     1.9.2.1
+++ ircd/m_map.c        2002/09/03 21:55:44
@@ -163,7 +163,7 @@
  */
 int m_map(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
- -  if (feature_bool(FEAT_HIS_MAP) && !IsOper(sptr)) {
+  if (feature_bool(FEAT_HIS_MAP) && !IsAnOper(sptr)) {
     sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s %s", sptr,
                  "/MAP has been disabled, from CFV-165.  "
                  "Visit ", feature_str(FEAT_HIS_URLSERVERS));

- -- 
Chris "_Shad0w_" Crowther
[EMAIL PROTECTED]
http://www.shad0w.org.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9dTDvz8bl0gyT/hERAlJ1AKCViraueRjDbPWUHH774NgmLCu28gCeOO05
qjTi994vVUcsVap7y5C3JX8=
=knJK
-----END PGP SIGNATURE-----

Reply via email to