summaryrefslogtreecommitdiff
path: root/modules/protocol
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-26 17:30:41 -0400
committerAdam <Adam@anope.org>2012-10-26 17:30:41 -0400
commite1dcf24c98a14340e3c05388b749fb6069592d0e (patch)
tree51bb3bfbc4240d0130293c53f2926727f712ebb5 /modules/protocol
parent3b24311db6664407b34cce4080b48d18ff2eb997 (diff)
Add nickserv:modesonid config option to set what modes users get on identify
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());
}
}