diff options
| author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-27 03:22:46 +0000 |
|---|---|---|
| committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-27 03:22:46 +0000 |
| commit | d0b1978f623a3b1b9401f69142ea2e2032758c2f (patch) | |
| tree | c20f14924eb6dbcdacc164309c8897716c9c7c52 /src/ptlink.c | |
| parent | 0607b8c2b2a0510207a73320f4532844863ec9a0 (diff) | |
BUILD : 1.7.6 (505) BUGS : N/A NOTES : Some documentation updated, fixed compiler errors with ptlink, and fixed a segfault with some options when set with just quotes
git-svn-id: svn://svn.anope.org/anope/trunk@505 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@359 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ptlink.c')
| -rw-r--r-- | src/ptlink.c | 4 |
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)); } /* |
