diff options
| author | 2008-05-19 19:12:43 +0000 | |
|---|---|---|
| committer | 2008-05-19 19:12:43 +0000 | |
| commit | 12427e75fe175fe7a62f388281dd7ab5100c9dda (patch) | |
| tree | dde95798e65c424b74e0ce9682ebda4dd1dfa419 /src/commands/cmd_stats.cpp | |
| parent | Fix logic being backwards (so every user was always away and an oper, except ... (diff) | |
| download | inspircd++-12427e75fe175fe7a62f388281dd7ab5100c9dda.tar.gz inspircd++-12427e75fe175fe7a62f388281dd7ab5100c9dda.tar.bz2 inspircd++-12427e75fe175fe7a62f388281dd7ab5100c9dda.zip | |
Convert connection::host
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_stats.cpp')
| -rw-r--r-- | src/commands/cmd_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index 093d46c6c..9da5f1aeb 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -53,7 +53,7 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str ServerInstance->SNO->WriteToSnoMask('t', "%s '%c' denied for %s (%s@%s)", (IS_LOCAL(user) ? "Stats" : "Remote stats"), - statschar, user->nick.c_str(), user->ident.c_str(), user->host); + statschar, user->nick.c_str(), user->ident.c_str(), user->host.c_str()); results.push_back(sn + " 481 " + user->nick + " :Permission denied - STATS " + statschar + " is oper-only"); return; } @@ -315,6 +315,6 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str results.push_back(sn+" 219 "+user->nick+" "+statschar+" :End of /STATS report"); ServerInstance->SNO->WriteToSnoMask('t',"%s '%c' requested by %s (%s@%s)", - (IS_LOCAL(user) ? "Stats" : "Remote stats"), statschar, user->nick.c_str(), user->ident.c_str(), user->host); + (IS_LOCAL(user) ? "Stats" : "Remote stats"), statschar, user->nick.c_str(), user->ident.c_str(), user->host.c_str()); return; } |
