diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-02-14 12:15:00 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-14 12:15:00 +0100 |
commit | 74ccc28da30896ee715504d53822f7b3ce6ec86f (patch) | |
tree | faa72eeee26610355d23b71c27a2b1670629836e /src/modules/m_check.cpp | |
parent | 51b5f06c48b98a256eb56ea5f7e4d5d170555e84 (diff) |
Move GetPrefixChar() from Channel to Membership
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index c72f88faa..1fa7aa3e2 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -192,8 +192,10 @@ class CommandCheck : public Command for (UCListIter i = targuser->chans.begin(); i != targuser->chans.end(); i++) { - Channel* c = (*i)->chan; - chliststr.append(c->GetPrefixChar(targuser)).append(c->name).append(" "); + Membership* memb = *i; + Channel* c = memb->chan; + chliststr.push_back(memb->GetPrefixChar()); + chliststr.append(c->name).push_back(' '); } std::stringstream dump(chliststr); |