summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-28 23:17:52 -0400
committerAdam <Adam@anope.org>2010-08-28 23:17:52 -0400
commitd70f1a43bc9520b3db22534fee07a047be4fa4d1 (patch)
treefe0fb075f0485818151a0d9c690b01f7bc7c8e70 /src
parent4319319f979c3b288f8f355915aa33541721810c (diff)
Removed a duplicate log message when a user changes nick
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 3713d102e..c9c5ce20e 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -67,8 +67,6 @@ void User::SetNewNick(const Anope::string &newnick)
if (newnick.empty())
throw CoreException("User::SetNewNick() got a bad argument");
- Log(this, "nick") << "changed nick to " << newnick;
-
UserListByNick.erase(this->nick);
this->nick = newnick;
@@ -716,7 +714,7 @@ User *do_nick(const Anope::string &source, const Anope::string &nick, const Anop
}
user->isSuperAdmin = 0; /* Dont let people nick change and stay SuperAdmins */
- Log(user, "nick") << " " << (ircd->vhost ? " => " : "") << (ircd->vhost ? user->GetDisplayedHost() : "") << ") (" << user->realname << ") changed nick to " << nick;
+ Log(user, "nick") << "(" << user->realname << ") changed nick to " << nick;
user->timestamp = ts;