diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-31 16:54:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:56:16 +0300 |
commit | 761682b6254a3d43e65ff45e07683c61afa6f1e4 (patch) | |
tree | 2ee462840f3aadb1e96bfa5c6784ec2cc0d2861a /src/guildmanager.cpp | |
parent | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (diff) | |
download | plus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.gz plus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.bz2 plus-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.xz plus-761682b6254a3d43e65ff45e07683c61afa6f1e4.zip |
Last part of fixes.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r-- | src/guildmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp index e7ca24587..485320130 100644 --- a/src/guildmanager.cpp +++ b/src/guildmanager.cpp @@ -273,7 +273,7 @@ bool GuildManager::process(std::string msg) if (!guild) return false; // logger->log("welcome message: %s", msg.c_str()); - std::string::size_type pos = msg.find("! ("); + size_t pos = msg.find("! ("); if (pos == std::string::npos) return false; msg = msg.substr(0, pos); @@ -290,7 +290,7 @@ bool GuildManager::process(std::string msg) Guild *guild = createGuild(); if (!guild) return false; - std::string::size_type pos = msg.find("Access Level: "); + size_t pos = msg.find("Access Level: "); if (pos == std::string::npos) return false; @@ -401,7 +401,7 @@ bool GuildManager::process(std::string msg) } if (mTab) { - std::string::size_type pos = msg.find(": ", 0); + size_t pos = msg.find(": ", 0); if (pos != std::string::npos) { std::string sender_name = ((pos == std::string::npos) |