diff options
| author | 2007-04-09 17:17:17 +0000 | |
|---|---|---|
| committer | 2007-04-09 17:17:17 +0000 | |
| commit | 54f4abc93d1fd498ce1cfe6f4a3ccc62f03af6bc (patch) | |
| tree | 5b47d5158f7c3b222c374365ae7c1eb885150e15 /src/modules/m_spanningtree/treesocket1.cpp | |
| parent | Handle non-hmac servers smarter without having to globally turn off hmac (diff) | |
| download | inspircd++-54f4abc93d1fd498ce1cfe6f4a3ccc62f03af6bc.tar.gz inspircd++-54f4abc93d1fd498ce1cfe6f4a3ccc62f03af6bc.tar.bz2 inspircd++-54f4abc93d1fd498ce1cfe6f4a3ccc62f03af6bc.zip | |
Give information in snomask +l to what type of auth was used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 0c8e39f3b..55822cf47 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -1278,11 +1278,10 @@ void TreeSocket::SendUsers(TreeServer* Current) */ void TreeSocket::DoBurst(TreeServer* s) { + std::string name = s->GetName(); std::string burst = "BURST "+ConvToStr(Instance->Time(true)); std::string endburst = "ENDBURST"; - // Because by the end of the netburst, it could be gone! - std::string name = s->GetName(); - this->Instance->SNO->WriteToSnoMask('l',"Bursting to \2"+name+"\2."); + this->Instance->SNO->WriteToSnoMask('l',"Bursting to \2%s\2 (Authentication: %s).", name.c_str(), this->GetTheirChallenge().empty() ? "plaintext password" : "SHA256-HMAC challenge-response"); this->WriteLine(burst); /* send our version string */ this->WriteLine(std::string(":")+this->Instance->Config->ServerName+" VERSION :"+this->Instance->GetVersionString()); |
