summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 7d77a6a2b..fb10243d0 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1764,7 +1764,7 @@ void handle_nick(char **parameters, int pcnt, userrec *user)
user->dns_done = (!lookup_dns(user->nick));
if (user->dns_done)
log(DEBUG,"Aborting dns lookup of %s because dns server experienced a failure.",user->nick);
- FOREACH_MOD OnUserRegister(userrec* user);
+ FOREACH_MOD OnUserRegister(user);
}
if (user->registered == 3)
{