diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 18:01:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 18:01:28 +0000 |
commit | 5cce62f7d799f073ea6ca1793328c08c2df7c3ff (patch) | |
tree | f7c83d3655893414643f252e9c4d83cbf5327ea3 /src/mode.cpp | |
parent | c720b1b6f234b8f8145ddeda6ef48b214091136a (diff) |
Major optimizations!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 12c6b2b92..e38b3946a 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -79,6 +79,7 @@ extern bool AllowHalfop; extern bool AllowProtect; extern bool AllowFounder; +extern time_t TIME; char* give_ops(userrec *user,char *dest,chanrec *chan,int status) { @@ -484,7 +485,7 @@ char* add_ban(userrec *user,char *dest,chanrec *chan,int status) } } - b.set_time = time(NULL); + b.set_time = TIME; strncpy(b.data,dest,MAXBUF); strncpy(b.set_by,user->nick,NICKMAX); chan->bans.push_back(b); |