summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ba36f5)
Fixes a (git only) crash when a user gets xlined before they have
been initialised.
- FOREACH_MOD(OnChangeRealHost, (this, host));
+ // Don't call the OnChangeRealHost event when initialising a user.
+ if (!realhost.empty())
+ FOREACH_MOD(OnChangeRealHost, (this, host));
+
realhost = host;
this->InvalidateCache();
}
realhost = host;
this->InvalidateCache();
}