]> jfr.im git - solanum.git/blobdiff - extensions/m_omode.c
explicitly show IP in SNO_BANNED snotes
[solanum.git] / extensions / m_omode.c
index 87194e41c1f2c7228a5b7b4308c9df21dc374d20..045248982f02fffbe182519a75a21647ee123937 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Charybdis: an advanced Internet Relay Chat Daemon(ircd).
+ *  Solanum: a slightly advanced ircd
  *  m_omode.c: allows oper mode hacking
  *
  *  Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@@ -135,7 +135,7 @@ mo_omode(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source
                                           form_str(ERR_USERNOTINCHANNEL), parv[3], chptr->chname);
                        return;
                }
-               sendto_channel_local(ALL_MEMBERS, chptr, ":%s MODE %s +o %s",
+               sendto_channel_local(&me, ALL_MEMBERS, chptr, ":%s MODE %s +o %s",
                                me.name, parv[1], source_p->name);
                sendto_server(NULL, chptr, CAP_TS6, NOCAPS,
                                ":%s TMODE %ld %s +o %s",