aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2013-11-24 15:05:12 +0000
committerGravatar Peter Powell2013-12-15 06:46:44 +0000
commit07d0d8f52f361c64b3c16d7e432f475cd2131a28 (patch)
tree9b20aa6e1916a0a7f96cd9c9793be57a48d38cb8 /src/modules/m_check.cpp
parentMove stuff around a bit: (diff)
downloadinspircd++-07d0d8f52f361c64b3c16d7e432f475cd2131a28.tar.gz
inspircd++-07d0d8f52f361c64b3c16d7e432f475cd2131a28.tar.bz2
inspircd++-07d0d8f52f361c64b3c16d7e432f475cd2131a28.zip
Remove some pointless code:
- Remove the CHARSET entry from ISUPPORT. CHARSET was removed in draft-brocklesby-irc-isupport-03 and we always used the default value anyway. This has also been removed in the latest version of Charybdis. - Remove irc::sockets::satouser. This helper method was longer than the code it replaced.
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 5e154feea..84e147f7b 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -180,8 +180,8 @@ class CommandCheck : public Command
if (loctarg)
{
- user->SendText(checkstr + " clientaddr " + irc::sockets::satouser(loctarg->client_sa));
- user->SendText(checkstr + " serveraddr " + irc::sockets::satouser(loctarg->server_sa));
+ user->SendText(checkstr + " clientaddr " + loctarg->client_sa.str());
+ user->SendText(checkstr + " serveraddr " + loctarg->server_sa.str());
std::string classname = loctarg->GetClass()->name;
if (!classname.empty())