diff options
| author | 2016-02-26 16:31:05 +0100 | |
|---|---|---|
| committer | 2016-02-26 16:31:05 +0100 | |
| commit | 4f1005acd1e97a6dac8182f80a0ccf453376ba67 (patch) | |
| tree | 8f4175b42c04ae98af3d3cd8d82630109dd15fe9 /src/modules/m_auditorium.cpp | |
| parent | Remove unnecessary std::string::c_str() calls (diff) | |
| parent | Add RPL_WHOREPLY to the list of numerics (diff) | |
Merge branch 'master+writenumeric-who'
Diffstat (limited to 'src/modules/m_auditorium.cpp')
| -rw-r--r-- | src/modules/m_auditorium.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index 7ad7ba1a3..6f9eeb252 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -149,15 +149,15 @@ class ModuleAuditorium : public Module } } - void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, Membership* memb, std::string& line) CXX11_OVERRIDE + ModResult OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, Membership* memb, Numeric::Numeric& numeric) CXX11_OVERRIDE { if (!memb) - return; + return MOD_RES_PASSTHRU; if (IsVisible(memb)) - return; + return MOD_RES_PASSTHRU; if (CanSee(source, memb)) - return; - line.clear(); + return MOD_RES_PASSTHRU; + return MOD_RES_DENY; } }; |
