summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]))
{