]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_opme.c
Prevent cork usage as charybdis doesn't have its support
[irc/rqf/shadowircd.git] / extensions / m_opme.c
index 193a1eb868750d51c808e8db3581a4de3cde25c0..78a7706f1da4242d602e6ce900fa4827dd37dc1e 100644 (file)
@@ -20,7 +20,6 @@
  */
 #include "stdinc.h"
 #include "tools.h"
-#include "patricia.h"
 #include "channel.h"
 #include "client.h"
 #include "ircd.h"
@@ -59,7 +58,7 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
 {
        struct Channel *chptr;
        struct membership *msptr;
-       dlink_node *ptr;
+       rb_dlink_node *ptr;
 
        /* admins only */
        if(!IsOperAdmin(source_p))
@@ -75,7 +74,7 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
                return 0;
        }
 
-       DLINK_FOREACH(ptr, chptr->members.head)
+       RB_DLINK_FOREACH(ptr, chptr->members.head)
        {
                msptr = ptr->data;