diff options
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f8b8efeb0..6313c7340 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1000,8 +1000,8 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, long userrec::GlobalCloneCount() { - char u1[1024]; - char u2[1024]; + char u1[1024] = {0}; + char u2[1024] = {0}; long x = 0; for (user_hash::const_iterator a = ServerInstance->clientlist.begin(); a != ServerInstance->clientlist.end(); a++) { |