summaryrefslogtreecommitdiff
path: root/modules/m_topic.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-16 18:30:52 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-16 18:30:52 +0000
commit83f7ffe7e5cb8110964209e86ce8e44b11f4088d (patch)
treefa1f4842002862f58a04f01dcf9675a1b206e5b2 /modules/m_topic.c
parentb0f035dd5ef59e0f9096b5e716411bbb7b5afa24 (diff)
- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable
via ircd.conf. A max_nick_length, as well as a max_topic_length configuration option can now be found in the serverinfo{} block] - OpenSSL 0.9.8s and higher is now required in order to enable ssl support git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1751 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_topic.c')
-rw-r--r--modules/m_topic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_topic.c b/modules/m_topic.c
index fe4faea..d13c3b9 100644
--- a/modules/m_topic.c
+++ b/modules/m_topic.c
@@ -98,7 +98,7 @@ m_topic(struct Client *client_p, struct Client *source_p,
snprintf(topic_info, sizeof(topic_info), "%s!%s@%s", source_p->name,
source_p->username, source_p->host);
- set_channel_topic(chptr, parv[2], topic_info, CurrentTime);
+ set_channel_topic(chptr, parv[2], topic_info, CurrentTime, !!MyClient(source_p));
sendto_server(client_p, CAP_TS6, NOCAPS,
":%s TOPIC %s :%s",