summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 48295eddd..6fb0e6a5c 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -12,7 +12,7 @@ userrec::userrec()
{
// the PROPER way to do it, AVOID bzero at *ALL* costs
strcpy(nick,"");
- ip = 0;
+ strcpy(ip,"127.0.0.1");
timeout = 0;
strcpy(ident,"");
strcpy(host,"");