diff options
| author | 2007-08-03 17:14:28 +0000 | |
|---|---|---|
| committer | 2007-08-03 17:14:28 +0000 | |
| commit | 423ea2b830d29f3fda51d0e50545ca21c83c56e5 (patch) | |
| tree | 7493d15b3a37f050e7d5db38e294a9a013e9e6bf /src/cmd_stats.cpp | |
| parent | Block (diff) | |
Manually merge 7635 because svnmerge is being a prick
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7636 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_stats.cpp')
| -rw-r--r-- | src/cmd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp index 98b2c63dd..5a78bd9e9 100644 --- a/src/cmd_stats.cpp +++ b/src/cmd_stats.cpp @@ -51,7 +51,7 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user, { std::string sn = ServerInstance->Config->ServerName; - if ((*ServerInstance->Config->UserStats) && !IS_OPER(user) && !strchr(ServerInstance->Config->UserStats,statschar)) + if ((*ServerInstance->Config->UserStats) && !IS_OPER(user) && !ServerInstance->ULine(user->server) && !strchr(ServerInstance->Config->UserStats,statschar)) { results.push_back(sn+std::string(" 481 ")+user->nick+" :Permission denied - STATS "+statschar+" is oper-only"); return; |
