summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-26 16:57:05 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-27 05:37:27 +0300
commit12bf548533867a2eb3a1c354b778ef7f9157322a (patch)
tree3cb6f61396f00a5d3fa280ecd9d99f309f06f4ca /src/being.cpp
parent2e7bfc350d38e16b3d340f8e4ea69e6ff6748f5c (diff)
downloadmanaverse-12bf548533867a2eb3a1c354b778ef7f9157322a.tar.gz
manaverse-12bf548533867a2eb3a1c354b778ef7f9157322a.tar.bz2
manaverse-12bf548533867a2eb3a1c354b778ef7f9157322a.tar.xz
manaverse-12bf548533867a2eb3a1c354b778ef7f9157322a.zip
Basic support for guild bot integration.
Not working context menu actions, chat commands, auto complete.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index cc88d8f6e..1924a8944 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -871,8 +871,12 @@ void Being::updateGuild()
return;
}
if (guild->getMember(getName()))
+ {
setGuild(guild);
- updateColors();
+ if (!guild->getName().empty())
+ mGuildName = guild->getName();
+ updateColors();
+ }
}
void Being::setGuild(Guild *guild)