diff options
-rw-r--r-- | src/Channel.cpp | 2 |
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) |