ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_watch.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_watch.c (file contents):
Revision 1834 by michael, Fri Apr 19 19:50:27 2013 UTC vs.
Revision 2820 by michael, Wed Jan 15 23:10:26 2014 UTC

# Line 1 | Line 1
1   /*
2 < *  ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
3 < *  m_watch.c: Maintains notify list
2 > *  ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3   *
4 < *  Copyright (C) 1997 Jukka Santala (Donwulff)
5 < *  Copyright (C) 2005 by the Hybrid Development Team.
4 > *  Copyright (c) 1997 Jukka Santala (Donwulff)
5 > *  Copyright (c) 2000-2014 ircd-hybrid development team
6   *
7   *  This program is free software; you can redistribute it and/or modify
8   *  it under the terms of the GNU General Public License as published by
# Line 19 | Line 18
18   *  along with this program; if not, write to the Free Software
19   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
20   *  USA
21 < *
22 < *  $Id$
21 > */
22 >
23 > /*! \file m_watch.c
24 > * \brief Includes required functions for processing the WATCH command.
25 > * \version $Id$
26   */
27  
28   #include "stdinc.h"
# Line 63 | Line 65 | show_watch(struct Client *client_p, cons
65   * parv[0] = sender prefix
66   * parv[1] = watch options
67   */
68 < static void
68 > static int
69   m_watch(struct Client *client_p, struct Client *source_p, int parc, char *parv[])
70   {
71    dlink_node *ptr = NULL;
# Line 236 | Line 238 | m_watch(struct Client *client_p, struct
238  
239      /* Hmm.. unknown prefix character.. Ignore it. :-) */
240    }
241 +
242 +  return 0;
243   }
244  
245 < static struct Message watch_msgtab = {
245 > static struct Message watch_msgtab =
246 > {
247    "WATCH", 0, 0, 0, 1, MFLG_SLOW, 0,
248    { m_unregistered, m_watch, m_ignore, m_ignore, m_watch, m_ignore }
249   };
# Line 257 | Line 262 | module_exit(void)
262    delete_isupport("WATCH");
263   }
264  
265 < struct module module_entry = {
265 > struct module module_entry =
266 > {
267    .node    = { NULL, NULL, NULL },
268    .name    = NULL,
269    .version = "$Revision$",

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)