diff options
| author | 2014-02-14 12:16:31 +0100 | |
|---|---|---|
| committer | 2014-02-14 12:16:31 +0100 | |
| commit | 8bdc2313a66bc200e7067e01159367f48571fef9 (patch) | |
| tree | 0a0743fa2ab776987772f5b7f1f5cfd401a0b1b5 /src/modules/m_namesx.cpp | |
| parent | Move GetPrefixChar() from Channel to Membership (diff) | |
| download | inspircd++-8bdc2313a66bc200e7067e01159367f48571fef9.tar.gz inspircd++-8bdc2313a66bc200e7067e01159367f48571fef9.tar.bz2 inspircd++-8bdc2313a66bc200e7067e01159367f48571fef9.zip | |
Move GetAllPrefixChars() from Channel to Membership
Diffstat (limited to 'src/modules/m_namesx.cpp')
| -rw-r--r-- | src/modules/m_namesx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp index 820963d5b..4dc5ff468 100644 --- a/src/modules/m_namesx.cpp +++ b/src/modules/m_namesx.cpp @@ -68,7 +68,7 @@ class ModuleNamesX : public Module if (nick.empty()) return; - prefixes = memb->chan->GetAllPrefixChars(memb->user); + prefixes = memb->GetAllPrefixChars(); } void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, Membership* memb, std::string& line) CXX11_OVERRIDE @@ -91,7 +91,7 @@ class ModuleNamesX : public Module // pos // Don't do anything if the user has only one prefix - std::string prefixes = memb->chan->GetAllPrefixChars(memb->user); + std::string prefixes = memb->GetAllPrefixChars(); if (prefixes.length() <= 1) return; |
