aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 051ca85fb..b5cb48a36 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1780,7 +1780,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
if(datasize == 2+1+PLAYERNAME_SIZE)
{
// old version - assume blank password
- *password = 0;
+ password[0] = 0;
}
else
{