summaryrefslogtreecommitdiff
path: root/src/motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/motd.c')
-rw-r--r--src/motd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/motd.c b/src/motd.c
index 5b80a08..8b0af6e 100644
--- a/src/motd.c
+++ b/src/motd.c
@@ -280,8 +280,8 @@ static void
motd_forward(struct Client *source_p, const struct MotdCache *cache)
{
unsigned int i = 0;
- const char *from = ID_or_name(&me, source_p->from);
- const char *to = ID_or_name(source_p, source_p->from);
+ const char *from = ID_or_name(&me, source_p);
+ const char *to = ID_or_name(source_p, source_p);
assert(source_p);