diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-01 22:11:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-01 22:11:22 +0000 |
commit | fca2a3c8ea88ecfefd3bfb729bcdcdb674bbe946 (patch) | |
tree | bbf962e30e47c0f30b30a471ad6e315c34992efc /src/commands.cpp | |
parent | 7f4395d336c331dd434bca91b6273c072f26e1bc (diff) |
Attempts to fix some random crashes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@943 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |