summaryrefslogtreecommitdiff
path: root/src/ptlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptlink.c')
-rw-r--r--src/ptlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ptlink.c b/src/ptlink.c
index 098b5bf9f..28d05c47e 100644
--- a/src/ptlink.c
+++ b/src/ptlink.c
@@ -646,7 +646,7 @@ void anope_cmd_unsqline(char *user)
void anope_cmd_join(char *user, char *channel, time_t chantime)
{
- send_cmd(ServerName, "SJOIN %ld %s + :%s", (long int) time(null),
+ send_cmd(ServerName, "SJOIN %ld %s + :%s", (long int) time(NULL),
channel, user);
}
@@ -1590,7 +1590,7 @@ void anope_cmd_chg_nick(char *oldnick, char *newnick)
return;
}
- send_cmd(oldnick, "NICK %s %ld", newnick, (long int) time(null));
+ send_cmd(oldnick, "NICK %s %ld", newnick, (long int) time(NULL));
}
/*