diff options
author | Adam <Adam@anope.org> | 2014-05-30 11:07:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-05-30 15:16:03 -0400 |
commit | f8829783d241bab07d2144a4a8f5ba440d08b321 (patch) | |
tree | 7b0331c30173fe2b85ec022fdc2d68c4a77291c0 /src/nickcore.cpp | |
parent | d6e600f74baede47c073dd4032eb7d6427421e0d (diff) |
Queue the grouped nicks to update when NickCore::SetDisplay is called, since they serialize the display field
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r-- | src/nickcore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp index c055491db..9c0e25f32 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -158,6 +158,10 @@ void NickCore::SetDisplay(const NickAlias *na) FOREACH_MOD(OnChangeCoreDisplay, (this, na->nick)); + /* this affects the serialized aliases */ + for (unsigned i = 0; i < aliases->size(); ++i) + aliases->at(i)->QueueUpdate(); + /* Remove the core from the list */ NickCoreList->erase(this->display); |