| 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 |
| 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" |
| 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; |
| 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 |
|
}; |
| 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$", |