summaryrefslogtreecommitdiff
path: root/modules/m_topic.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-12 16:56:15 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-12 16:56:15 +0000
commit029f98657907a18d64b33d08b6f3577d2561a4c3 (patch)
tree09595f74bca7627c5a55eaa7bc0a2b0c33793cba /modules/m_topic.c
parentb8bd3bda5cc38aebbc6126290a9e7addce05a4e3 (diff)
- m_topic.c: fixed compile warning
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2020 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_topic.c')
-rw-r--r--modules/m_topic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/m_topic.c b/modules/m_topic.c
index 75b3294..5d088ef 100644
--- a/modules/m_topic.c
+++ b/modules/m_topic.c
@@ -143,6 +143,11 @@ ms_topic(struct Client *client_p, struct Client *source_p,
from = me.id;
to = source_p->id;
}
+ else
+ {
+ from = me.name;
+ to = source_p->name;
+ }
if (EmptyString(parv[1]))
{