summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-26 00:04:15 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-26 00:04:15 +0000
commitc46c37300ad6b6e90dd2935f0fd6c94986aedea4 (patch)
treefbb3031e7c205d83a736843548b503cbb956f0b5 /src
parent272d4011eacf839074f6598b0e12bb0db942f377 (diff)
Remove unnecessary casting.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3754 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_check.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 564bfa399..c60ff0abe 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -54,25 +54,25 @@ class cmd_check : public command_t
* :server.name 304 target :CHECK END
*/
- Srv->SendTo(NULL, user, checkstr + " START " + std::string(parameters[0]));
+ Srv->SendTo(NULL, user, checkstr + " START " + parameters[0]);
if (targuser)
{
/* /check on a user */
- Srv->SendTo(NULL, user, checkstr + " nuh " + std::string(targuser->GetFullHost()));
- Srv->SendTo(NULL, user, checkstr + " realnuh " + std::string(targuser->GetFullRealHost()));
- Srv->SendTo(NULL, user, checkstr + " realname " + std::string(targuser->fullname));
- Srv->SendTo(NULL, user, checkstr + " modes +" + std::string(targuser->modes));
- Srv->SendTo(NULL, user, checkstr + " server " + std::string(targuser->server));
+ Srv->SendTo(NULL, user, checkstr + " nuh " + targuser->GetFullHost());
+ Srv->SendTo(NULL, user, checkstr + " realnuh " + targuser->GetFullRealHost());
+ Srv->SendTo(NULL, user, checkstr + " realname " + targuser->fullname);
+ Srv->SendTo(NULL, user, checkstr + " modes +" + targuser->modes);
+ Srv->SendTo(NULL, user, checkstr + " server " + targuser->server);
if (targuser->awaymsg[0] != 0)
{
/* user is away */
- Srv->SendTo(NULL, user, checkstr + " awaymsg " + std::string(targuser->awaymsg));
+ Srv->SendTo(NULL, user, checkstr + " awaymsg " + targuser->awaymsg);
}
if (targuser->oper[0] != 0)
{
/* user is an oper of type ____ */
- Srv->SendTo(NULL, user, checkstr + " opertype " + std::string(targuser->oper));
+ Srv->SendTo(NULL, user, checkstr + " opertype " + targuser->oper);
}
if (IS_LOCAL(targuser))
{
@@ -82,7 +82,7 @@ class cmd_check : public command_t
chliststr = chlist(targuser, targuser);
std::stringstream dump(chliststr);
- /* XXX - This doent suck so much */
+
Srv->DumpText(user,checkstr + " onchans ", dump);
}
else if (targchan)