diff options
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r-- | src/playerrelations.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h index b4ef6dd45..613a27d01 100644 --- a/src/playerrelations.h +++ b/src/playerrelations.h @@ -219,6 +219,8 @@ class PlayerRelationsManager bool isGoodName(Being *being); + bool isGoodName(std::string name); + /** * Change the `ignore persist' flag. * @@ -233,6 +235,7 @@ class PlayerRelationsManager void removeListener(PlayerRelationsListener *listener) { mListeners.remove(listener); } + private: void signalUpdate(const std::string &name); @@ -240,6 +243,8 @@ class PlayerRelationsManager // ignored data upon reloading unsigned int mDefaultPermissions; + bool checkName(const std::string &name) const; + PlayerIgnoreStrategy *mIgnoreStrategy; std::map<std::string, PlayerRelation *> mRelations; std::list<PlayerRelationsListener *> mListeners; |