+jilles 2007/02/01 00:49:07 UTC (20070201-3181)
+ Log:
+ Do not try find_server() on a name find_client() has
+ returned NULL for, as this will always return NULL
+ since the removal of hostmasking.
+
+
+ Changes: Modified:
+ +1 -2 trunk/modules/m_pong.c (File Modified)
+ +0 -4 trunk/src/s_serv.c (File Modified)
+
+
jilles 2007/02/01 00:34:33 UTC (20070201-3179)
Log:
Remove server_exists() which checked whether the
-#define SERNO "20070201-3179"
+#define SERNO "20070201-3181"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_trace.c 609 2006-01-28 21:44:33Z jilles $
+ * $Id: m_trace.c 3183 2007-02-01 01:07:42Z jilles $
*/
#include "stdinc.h"
{ "doing_trace", &doing_trace_hook },
{ NULL, NULL }
};
-DECLARE_MODULE_AV1(trace, NULL, NULL, trace_clist, trace_hlist, NULL, "$Revision: 609 $");
+DECLARE_MODULE_AV1(trace, NULL, NULL, trace_clist, trace_hlist, NULL, "$Revision: 3183 $");
static void count_downlinks(struct Client *server_p, int *pservcount, int *pusercount);
static int report_this_status(struct Client *source_p, struct Client *target_p, int dow);
{
ac2ptr = ptr->data;
- if(match(tname, ac2ptr->name) || match(ac2ptr->name, tname))
+ if(match(tname, ac2ptr->name))
break;
else
ac2ptr = NULL;
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: s_serv.c 3181 2007-02-01 00:49:07Z jilles $
+ * $Id: s_serv.c 3183 2007-02-01 01:07:42Z jilles $
*/
#include "stdinc.h"
* Assume it's me, if no server
*/
if(parc <= server || EmptyString(parv[server]) ||
- match(me.name, parv[server]) || match(parv[server], me.name) ||
- (strcmp(parv[server], me.id) == 0))
+ match(parv[server], me.name) || (strcmp(parv[server], me.id) == 0))
return (HUNTED_ISME);
new = LOCAL_COPY(parv[server]);