From 9c7856177e8c76a80b1fd90622d8d5b8e5bcb747 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 12 Dec 2013 19:42:08 +0000 Subject: - m_join.c:m_join(): actually test conf->reason for being a NULL pointer git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2662 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/core/m_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/core/m_join.c b/modules/core/m_join.c index f8eef23..b35e660 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -139,7 +139,7 @@ m_join(struct Client *client_p, struct Client *source_p, { ++conf->count; sendto_one(source_p, form_str(ERR_CHANBANREASON), me.name, source_p->name, - chan, conf ? conf->reason : "Reserved channel"); + chan, conf->reason ? conf->reason : "Reserved channel"); sendto_realops_flags(UMODE_SPY, L_ALL, SEND_NOTICE, "Forbidding reserved channel [%s] from user %s", chan, get_client_name(source_p, HIDE_IP)); -- cgit