diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:42:08 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:42:08 +0000 |
commit | 9c7856177e8c76a80b1fd90622d8d5b8e5bcb747 (patch) | |
tree | b7b392c70ed681ae69fb83a71c74fc8e14a0bd34 /modules/core | |
parent | 8f25b7d4ca49775b9f05ce9c94f7ffd9600d229f (diff) |
- 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
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/m_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |