Skip to content
Browse files

Add user friendly UserRemove message when disconnecting a ghost user.

This commit adds a user friendly UserRemove message
when a username is reused from the same IP-address.
  • Loading branch information...
bontibon authored and mkrautz committed Feb 20, 2015
1 parent dede317 commit 9ba92b584e2a47e33b8dae8fb20526f319092df7
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/murmur/Messages.cpp
@@ -192,6 +192,11 @@ void Server::msgAuthenticate(ServerUser *uSource, MumbleProto::Authenticate &msg
// Kick ghost
if (uOld) {
log(uSource, "Disconnecting ghost");
MumbleProto::UserRemove mpur;
mpur.set_reason("You connected to the server from another device");
sendMessage(uOld, mpur);

0 comments on commit 9ba92b5

Please sign in to comment.
You can’t perform that action at this time.