summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5d088ef..9eeba26 100644
--- a/modules/m_topic.c
+++ b/modules/m_topic.c
@@ -69,7 +69,7 @@ m_topic(struct Client *client_p, struct Client *source_p,
/* setting topic */
if (parc > 2)
{
- struct Membership *ms;
+ const struct Membership *ms = NULL;
if ((ms = find_channel_link(source_p, chptr)) == NULL)
{