summaryrefslogtreecommitdiff
path: root/modules/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol')
-rw-r--r--modules/protocol/inspircd-ts6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h
index fefff1d15..f01184d12 100644
--- a/modules/protocol/inspircd-ts6.h
+++ b/modules/protocol/inspircd-ts6.h
@@ -587,7 +587,7 @@ struct IRCDMessageMetadata : IRCDMessage
/* Sometimes a user connects, we send them the usual "this nickname is registered" mess (if
* their server isn't syncing) and then we receive this.. so tell them about it.
*/
- if (bi)
+ if (u->server->IsSynced() && bi)
u->SendMessage(bi, _("You have been logged in as \2%s\2."), nc->display.c_str());
}
}