aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp
index b43e75c..d89a23f 100644
--- a/src/Channel.cpp
+++ b/src/Channel.cpp
@@ -175,7 +175,7 @@ namespace dchat
}
localUser = newLocalUser;
- users.push_back(newLocalUser);
+ addUserLocally(newLocalUser);
}
void Channel::processEvent(const sf::Event &event)