diff options
| author | 2010-10-29 12:13:33 -0400 | |
|---|---|---|
| committer | 2010-10-29 12:13:33 -0400 | |
| commit | b01f0316df2b084c54f2c19d1afc5252c2e1e3b4 (patch) | |
| tree | 7558d881fb24abf8799f3e8baf57ed2066f8dbe8 /src/modules/m_opflags.cpp | |
| parent | Use more numerics (diff) | |
Fix compile
Diffstat (limited to 'src/modules/m_opflags.cpp')
| -rw-r--r-- | src/modules/m_opflags.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opflags.cpp b/src/modules/m_opflags.cpp index 477297524..4e746e4bf 100644 --- a/src/modules/m_opflags.cpp +++ b/src/modules/m_opflags.cpp @@ -218,7 +218,7 @@ class FlagCmd : public Command { prov.ext.unset(memb); if (!IS_SERVER(src)) - for (UserMembIter i = userlist.begin(); i != userlist.end(); ++i) + for (UserMembIter i = chan->userlist.begin(); i != chan->userlist.end(); ++i) if (IS_LOCAL(i->first)) i->first->WriteNumeric(922, "%s %s %s %s :Removed all opflags from", i->first->nick.c_str(), chan->name.c_str(), src->nick.c_str(), @@ -228,7 +228,7 @@ class FlagCmd : public Command { std::string v = prov.SetFlags(memb, flags, false); if (!IS_SERVER(src)) - for (UserMembIter i = userlist.begin(); i != userlist.end(); ++i) + for (UserMembIter i = chan->userlist.begin(); i != chan->userlist.end(); ++i) if (IS_LOCAL(i->first)) i->first->WriteNumeric(921, "%s %s %s %s %s :Set opflags to", i->first->nick.c_str(), chan->name.c_str(), src->nick.c_str(), |
