inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit a7b52308dba32becb40522b76b1bfee8e37470fe
parent 4690bbdee8b5a91938e3e2ac86f606951cccf2e8
Author: Peter Powell <petpow@saberuk.com>
Date:   Mon,  4 Feb 2019 15:26:53 +0000

m_check: improve the output of the member key.

Diffstat:
Msrc/modules/m_check.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp @@ -259,9 +259,9 @@ class CommandCheck : public Command * Unlike Asuka, I define a clone as coming from the same host. --w00t */ const UserManager::CloneCounts& clonecount = ServerInstance->Users->GetCloneCounts(i->first); - context.Write("member", InspIRCd::Format("%-3u %s%s (%s@%s) %s ", clonecount.global, - i->second->GetAllPrefixChars().c_str(), i->first->nick.c_str(), - i->first->ident.c_str(), i->first->GetDisplayedHost().c_str(), i->first->GetRealName().c_str())); + context.Write("member", InspIRCd::Format("%u %s%s (%s)", clonecount.global, + i->second->GetAllPrefixChars().c_str(), i->first->GetFullHost().c_str(), + i->first->GetRealName().c_str())); } const ModeParser::ListModeList& listmodes = ServerInstance->Modes->GetListModes();