]> jfr.im git - irc/ircd-hybrid/ircd-hybrid-8-cvs.git/commitdiff
- Removed a debug message that was left in but shouldn't have been.
authora1kmm <a1kmm>
Wed, 30 Jan 2002 08:10:24 +0000 (08:10 +0000)
committera1kmm <a1kmm>
Wed, 30 Jan 2002 08:10:24 +0000 (08:10 +0000)
- Added in some missing handler entries.

modules/core/m_kill.c
modules/m_links.c
modules/m_list.c
src/parse.c

index c28945ca1e555dec1a90ab7156561b6035ebccc5..406d3674f102e234ee03caf27b234e0ef6b517fa 100644 (file)
@@ -19,7 +19,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *   $Id: m_kill.c,v 1.4 2002/01/13 07:15:34 a1kmm Exp $
+ *   $Id: m_kill.c,v 1.5 2002/01/30 08:10:27 a1kmm Exp $
  */
 
 #include "handlers.h"
@@ -49,6 +49,7 @@ static void relay_kill(struct Client *, struct Client *, struct Client *,
 struct Message kill_msgtab[] = {
   {"KILL", 0, 0, 2, 0, MFLG_SLOW, 0, &p_unregistered, &m_unregistered},
   {"KILL", 0, 0, 2, 0, MFLG_SLOW, 0, &p_user, &m_not_oper},
+  {"KILL", 0, 0, 2, 0, MFLG_SLOW, 0, &p_operuser, &mo_kill},
 #ifdef ENABLE_TS5
   {"KILL", 0, 0, 2, 0, MFLG_SLOW, 0, &p_ts5, &ms_kill},
 #endif
@@ -68,7 +69,7 @@ _moddeinit(void)
   mod_del_cmd(kill_msgtab);
 }
 
-char *_version = "$Revision: 1.4 $";
+char *_version = "$Revision: 1.5 $";
 #endif
 /*
 ** mo_kill
index 4d01305f8e855ba7941bfe380fc526b1231ffc17..053e07963c8b340bf62915f7c2d2a94a70fdb87d 100644 (file)
@@ -19,7 +19,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *   $Id: m_links.c,v 1.4 2002/01/13 07:15:18 a1kmm Exp $
+ *   $Id: m_links.c,v 1.5 2002/01/30 08:10:24 a1kmm Exp $
  */
 
 #include "handlers.h"
@@ -43,7 +43,7 @@ static void m_links(struct Client *, struct Client *, int, char **);
 static void mo_links(struct Client *, struct Client *, int, char **);
 static void ms_links(struct Client *, struct Client *, int, char **);
 
-struct Message links_msgtab = {
+struct Message links_msgtab[] = {
   {"LINKS", 0, 0, 0, 0, MFLG_SLOW, 0, &p_unregistered, &m_unregistered},
   {"LINKS", 0, 0, 0, 0, MFLG_SLOW, 0, &p_user, &m_links},
   {"LINKS", 0, 0, 0, 0, MFLG_SLOW, 0, &p_operuser, &mo_links},
@@ -58,17 +58,17 @@ void
 _modinit(void)
 {
   hook_add_event("doing_links");
-  mod_add_cmd(&links_msgtab);
+  mod_add_cmd(links_msgtab);
 }
 
 void
 _moddeinit(void)
 {
   hook_del_event("doing_links");
-  mod_del_cmd(&links_msgtab);
+  mod_del_cmd(links_msgtab);
 }
 
-char *_version = "$Revision: 1.4 $";
+char *_version = "$Revision: 1.5 $";
 #endif
 /*
  * m_links - LINKS message handler
index 542dd23ff04fac45c21ebbee0b82c86ef77a9441..c1b9e7673bfc37b8f950a171f69b9922e00bae2e 100644 (file)
@@ -14,7 +14,7 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
  *
- *  $Id: m_list.c,v 1.4 2002/01/13 07:15:18 a1kmm Exp $
+ *  $Id: m_list.c,v 1.5 2002/01/30 08:10:24 a1kmm Exp $
  */
 
 #include "tools.h"
@@ -48,6 +48,7 @@ static void list_one_channel(struct Client *, struct Channel *);
 struct Message list_msgtab[] = {
   {"LIST", 0, 0, 0, 0, MFLG_SLOW, 0, &p_unregistered, &m_unregistered},
   {"LIST", 0, 0, 0, 0, MFLG_SLOW, 0, &p_user, &m_list},
+  {"LIST", 0, 0, 0, 0, MFLG_SLOW, 0, &p_user, &mo_list},
 #ifdef ENABLE_TS5
   {"LIST", 0, 0, 0, 0, MFLG_SLOW, 0, &p_ts5, &ms_list},
 #endif
@@ -67,7 +68,7 @@ _moddeinit(void)
   mod_del_cmd(list_msgtab);
 }
 
-char *_version = "$Revision: 1.4 $";
+char *_version = "$Revision: 1.5 $";
 #endif
 static int list_all_channels(struct Client *source_p);
 static int list_named_channel(struct Client *source_p, char *name);
index 40b1b702285553550aea645d12aa3743f37a8a95..d14461875065df9e9224cd89f111dcbd0e488dd3 100644 (file)
@@ -14,7 +14,7 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
  *
- *   $Id: parse.c,v 1.4 2002/01/13 07:15:39 a1kmm Exp $
+ *   $Id: parse.c,v 1.5 2002/01/30 08:10:29 a1kmm Exp $
  */
 
 #include <assert.h>
@@ -469,7 +469,6 @@ hash_parse(struct Client *from, char *cmd)
         if (p == NULL)
           continue;
       }
-      ilog(L_WARN, "Found a command handler for %s.", ptr->cmd);
       return (ptr->msg);
     }
   }