summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-30 11:07:14 -0400
committerAdam <Adam@anope.org>2014-05-30 15:16:03 -0400
commitf8829783d241bab07d2144a4a8f5ba440d08b321 (patch)
tree7b0331c30173fe2b85ec022fdc2d68c4a77291c0 /src/nickcore.cpp
parentd6e600f74baede47c073dd4032eb7d6427421e0d (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.cpp4
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);