summaryrefslogtreecommitdiffstats
path: root/signet/Room.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-11-01 17:01:26 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-11-01 17:01:26 +0000
commite41f087652cf102c04df1a78ac7a2c72724e740c (patch)
tree8913943b66f388bdd132e998bb3174175184898f /signet/Room.cpp
parenta286bb188d7654d644e2f26b71e8ddeaf4490a9d (diff)
downloadsigen-e41f087652cf102c04df1a78ac7a2c72724e740c.tar.gz
sigen-e41f087652cf102c04df1a78ac7a2c72724e740c.tar.xz
sigen-e41f087652cf102c04df1a78ac7a2c72724e740c.zip
[FIX] Challenge login can fail due to unknown user
[FIX] PacketMaker makes Packets (Packets only hold information) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@292 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'signet/Room.cpp')
-rw-r--r--signet/Room.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/signet/Room.cpp b/signet/Room.cpp
index 461ad437..fad6c332 100644
--- a/signet/Room.cpp
+++ b/signet/Room.cpp
@@ -60,5 +60,7 @@ bool Signet::Room::joinTable(Client* client, const QString& tableName)
if (!m_tables[tableName]->addClient(client))
{
// TODO: Let the client know about the error.
+ return false;
}
+ return true;
}