From 6f707920ffb30c51efce37cc8ebd82a7679388bf Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 19 Sep 2010 17:41:50 -0400 Subject: Fixed log messages from when a user quits or gets killed --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 830721b95..7aa9fdc22 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -802,7 +802,7 @@ void do_quit(const Anope::string &source, int ac, const char **av) return; } - Log(user, "quit") << "for " << (*av[0] ? av[0] : "no reason"); + Log(user, "quit") << "quit (Reason: " << (*av[0] ? av[0] : "no reason") << ")"; NickAlias *na = findnick(user->nick); if (na && !na->HasFlag(NS_FORBIDDEN) && !na->nc->HasFlag(NI_SUSPENDED) && (user->IsRecognized() || user->IsIdentified(true))) @@ -830,7 +830,7 @@ void do_kill(const Anope::string &nick, const Anope::string &msg) return; } - Log(user, "killed") << "for " << msg; + Log(user, "killed") << "was killed (Reason: " << msg << ")"; NickAlias *na = findnick(user->nick); if (na && !na->HasFlag(NS_FORBIDDEN) && !na->nc->HasFlag(NI_SUSPENDED) && (user->IsRecognized() || user->IsIdentified(true))) -- cgit