summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-18 18:03:59 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-18 18:03:59 +0000
commit3d1b993e6572de08c3a180d953d940d0e7a05879 (patch)
treedf9ff852fcf92b710c6960a8debc9e3c67a36afa /src
parent34675aaac16e0162d640380a210761d0d52a05d9 (diff)
- Fixed indentation, removed whitespaces/tabs, update copyright header
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2856 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/version.c15
-rw-r--r--src/watch.c22
2 files changed, 20 insertions, 17 deletions
diff --git a/src/version.c b/src/version.c
index 43f1dbd..fad9d38 100644
--- a/src/version.c
+++ b/src/version.c
@@ -1,7 +1,7 @@
/*
- * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
+ * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
*
- * Copyright (C) 2002 by the past and present ircd coders, and others.
+ * Copyright (c) 1997-2014 ircd-hybrid development team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -17,8 +17,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
- * $Id$
+ */
+
+/*! \file version.c
+ * \brief Includes license and version information shown in /info.
+ * \version $Id$
*/
#include "patchlevel.h"
@@ -32,8 +35,8 @@ const char *infotext[] =
{
"ircd-hybrid --",
"Based on the original code written by Jarkko Oikarinen",
- "Copyright 1988, 1989, 1990, 1991 University of Oulu, Computing Center",
- "Copyright (c) 1997-2014 Hybrid Development Team",
+ "Copyright (c) 1988-1991 University of Oulu, Computing Center",
+ "Copyright (c) 1997-2014 ircd-hybrid development team",
"",
"This program is free software; you can redistribute it and/or",
"modify it under the terms of the GNU General Public License as",
diff --git a/src/watch.c b/src/watch.c
index 1722fed..cdc859d 100644
--- a/src/watch.c
+++ b/src/watch.c
@@ -1,8 +1,8 @@
/*
- * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
+ * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
*
- * Copyright (C) 1997 Jukka Santala (Donwulff)
- * Copyright (C) 2005 by the Hybrid Development Team.
+ * Copyright (c) 1997 Jukka Santala (Donwulff)
+ * Copyright (c) 2005-2014 ircd-hybrid development team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -78,8 +78,8 @@ watch_count_memory(unsigned int *const count, uint64_t *const bytes)
/*! \brief Notifies all clients that have client_p's nick name on
* their watch list.
- * \param client_p pointer to Client struct
- * \param reply numeric to send. Either RPL_LOGON or RPL_LOGOFF
+ * \param client_p Pointer to Client struct
+ * \param reply Numeric to send. Either RPL_LOGON or RPL_LOGOFF
*/
void
watch_check_hash(struct Client *client_p, const unsigned int reply)
@@ -88,7 +88,7 @@ watch_check_hash(struct Client *client_p, const unsigned int reply)
dlink_node *ptr = NULL;
assert(IsClient(client_p));
if ((anptr = watch_find_hash(client_p->name)) == NULL)
- return; /* This nick isn't on watch */
+ return; /* This nick isn't on watch */
/* Update the time of last change to item */
anptr->lasttime = CurrentTime;
@@ -106,7 +106,7 @@ watch_check_hash(struct Client *client_p, const unsigned int reply)
}
/*! \brief Looks up the watch table for a given nick
- * \param name nick name to look up
+ * \param name Nick name to look up
*/
struct Watch *
watch_find_hash(const char *name)
@@ -125,7 +125,7 @@ watch_find_hash(const char *name)
}
/*! \brief Adds a watch entry to client_p's watch list
- * \param nick nick name to add
+ * \param nick Nick name to add
* \param client_p Pointer to Client struct
*/
void
@@ -159,7 +159,7 @@ watch_add_to_hash_table(const char *nick, struct Client *client_p)
}
/*! \brief Removes a single entry from client_p's watch list
- * \param nick nick name to remove
+ * \param nick Nick name to remove
* \param client_p Pointer to Client struct
*/
void
@@ -169,10 +169,10 @@ watch_del_from_hash_table(const char *nick, struct Client *client_p)
dlink_node *ptr = NULL;
if ((anptr = watch_find_hash(nick)) == NULL)
- return; /* No header found for that nick. i.e. it's not being watched */
+ return; /* No header found for that nick. i.e. it's not being watched */
if ((ptr = dlinkFind(&anptr->watched_by, client_p)) == NULL)
- return; /* This nick isn't being watched by client_p */
+ return; /* This nick isn't being watched by client_p */
dlinkDelete(ptr, &anptr->watched_by);
free_dlink_node(ptr);