diff options
| author | Adam <Adam@anope.org> | 2011-09-03 01:10:12 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-09-10 02:06:29 -0400 |
| commit | 1478b5bbd7ecc99c3ceefc0396845ebb0608d331 (patch) | |
| tree | 24783150322c7774643e22f4b3074764dab0736e /src/bots.cpp | |
| parent | 19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (diff) | |
Added chanserv/log
Diffstat (limited to 'src/bots.cpp')
| -rw-r--r-- | src/bots.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index f3c0af4fd..25ead29f5 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -156,7 +156,7 @@ void BotInfo::Join(Channel *c, ChannelStatus *status) /* Should we be invited? */ if (c->HasMode(CMODE_INVITE) || (limit && c->users.size() >= limit)) - ircdproto->SendNoticeChanops(this, c, "%s invited %s into the channel.", this->nick.c_str(), this->nick.c_str()); + ircdproto->SendNotice(this, "@" + c->name, "%s invited %s into the channel.", this->nick.c_str(), this->nick.c_str()); ModeManager::ProcessModes(); } @@ -229,7 +229,7 @@ void BotInfo::OnMessage(User *u, const Anope::string &message) if (!c->HasFlag(CFLAG_ALLOW_UNREGISTERED) && !u->IsIdentified()) { u->SendMessage(this, NICK_IDENTIFY_REQUIRED); - Log(LOG_COMMAND, "denied", this) << "Access denied for unregistered user " << u->GetMask() << " with command " << c->name; + Log(LOG_NORMAL, "denied", this) << "Access denied for unregistered user " << u->GetMask() << " with command " << c->name; return; } |
