From fca2a3c8ea88ecfefd3bfb729bcdcdb674bbe946 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 1 Apr 2005 22:11:22 +0000 Subject: Attempts to fix some random crashes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@943 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 0af56645d..a52142ae7 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1643,7 +1643,7 @@ void handle_nick(char **parameters, int pcnt, userrec *user) user->registered = (user->registered | 2); // dont attempt to look up the dns until they pick a nick... because otherwise their pointer WILL change // and unless we're lucky we'll get a duff one later on. - lookup_dns(user); + lookup_dns(user->nick); } if (user->registered == 3) { -- cgit v1.2.3