summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-01 21:49:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-01 21:49:35 +0300
commitec552e6430ac86b1234c9a7798bf4e028a3c78c0 (patch)
tree10cd93cf86dca5ce2074b362dc7e4db1c0e2b03d /src/playerrelations.h
parent170aae70566003a30ab1f6f936364484f6a0a097 (diff)
downloadmanaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.gz
manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.bz2
manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.xz
manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.zip
Set secure font in chat tab name if need.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h5
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;